pub type OnLoadFn<R> = dyn Fn(&Store<R>) -> Result<(), Error> + Sync + Send;
Closure to be called when a store is loaded.