Function set_root_context_factory

Source
pub fn set_root_context_factory<R: RootContext + 'static>(root: fn() -> R)
Expand description

Sets root context factory. Should be called from _init. Can only be called once.