Skip to main content

UpcastingFactory

Type Alias UpcastingFactory 

Source
pub type UpcastingFactory<'a> = &'a (dyn Fn(Arc<dyn Upcaster>) -> Pin<Box<dyn Future<Output = Arc<dyn JournalStore>> + Send>> + Sync);
Expand description

Produces a store with no history in it that reads through the upcaster it is handed.