Skip to main content

Module reach

Module reach 

Source
Expand description

Who reaches you, on which channel (docs/porch.md, “Who may reach you, and when”), and the clock that says what time it is, ahead.

Five states, one vocabulary everywhere: a stranger (in none of your address books and on no list), the blocked (never, on any channel), and for the people in your address books three levels: safe, neutral (anyone in your address books, unless you chose otherwise) and restricted. Who someone is, the lists and the address books say (porch::Senders): their own entry first, then their card’s, its categories, a domain or a number’s prefix.

When each reaches you is the matrix of what reaches you’s to say (attention, docs/attention.md): a row per state on each channel.

The clock reads no file once made: a phone writes the calls’ frames ahead from it (calls::frames), which its call screening reads within milliseconds.

Structs§

Clock
The time at any instant, as quiet::mode decides it, and where it changes: the hours, time off and the overrides as kept now, Health’s meals, naps and nights for the day asked (with each day’s changes), the events that push meals. The pause stays on until you come back; Free time ends by itself (the night’s start, else midnight).
Frame
A span of time with one moment: from start to end, Unix seconds.
Moment
What the matrix of what reaches you needs of a moment ahead (attention::Now::of_moment): what now is for, the week’s hours, the pauses.

Enums§

Channel
How someone reaches you.
Who
Who someone is to you.

Constants§

HORIZON_DAYS
How far ahead a clock’s events are read, in days.

Functions§

region
The country of numbers written without one: the contacts’ setting, else the system’s locale, else Sioul’s language’s (phones::chosen).