nuclear::state
pub fn enter<S, R>(state: &Arc<S>, f: impl FnOnce() -> R) -> R where S: Send + Sync + 'static,