Skip to main content

Crate orlando_timers

Crate orlando_timers 

Source

Structs§

InMemoryReminderStore
In-memory reminder store for testing. Data is lost on drop.
ReminderRegistration
A persisted reminder registration.
ReminderService
Background service that polls for due reminders and dispatches them.
ReminderTick
Message delivered to a grain when a reminder fires. The grain must implement GrainHandler<ReminderTick> to receive these.
SqliteReminderStore
SQLite-backed reminder store for durable reminders that survive restarts.
TimerHandle
Handle to a registered timer. Dropping this cancels the timer.
TimerTick
Message delivered to a grain on each timer tick. The grain must implement GrainHandler<TimerTick> to receive these.

Enums§

ReminderError

Traits§

ReminderStore
Pluggable backend for persisting reminder registrations.

Functions§

register_timer
Register a volatile timer that fires periodically, delivering a TimerTick into the grain’s own mailbox.