Skip to main content

ScheduleStoreFactory

Type Alias ScheduleStoreFactory 

Source
pub type ScheduleStoreFactory = Arc<dyn Fn(i64) -> Arc<dyn SessionScheduleStore> + Send + Sync>;
Expand description

Factory producing a per-org SessionScheduleStore. Embedders that have a single global store can ignore the org_id argument and return the same Arc every time.

Aliased Type§

pub struct ScheduleStoreFactory { /* private fields */ }