Skip to main content

Schedule

Type Alias Schedule 

Source
type Schedule = BTreeMap<(OwnedUserId, SmallString<[u8; 48]>), Entry>;
Expand description

The email pushers with pending work and when each is next evaluated.

An entry lives from a pusher’s first wake to the evaluation that mails it or finds nothing left to mail, so only pushers with unread notifications not yet mailed are held. A restart loses retry counts, harmlessly, since every pusher with a cursor is evaluated again after startup. It also loses any frontier kept for a cursor not yet started, so that pusher’s cursor starts at its next wake, past the notifications before it.

Aliased Type§

struct Schedule { /* private fields */ }