pub fn set_scope_store(store: ScopeStore)Expand description
Install a custom scope store.
Must be called before any scope operations. On Wasm or in tests the default thread-local store is sufficient.
§Example (tokio SSR)
ⓘ
use auralis_task::ScopeStore;
auralis_task::set_scope_store(ScopeStore {
set_fn: my_tokio_task_local_set,
get_fn: my_tokio_task_local_get,
});