pub fn enter_event_handler_scope() -> EventHandlerScopeGuardExpand description
Marks the thread as inside an event handler until the returned guard is dropped. In debug builds, a state write there that is not inside a snapshot logs a warning.
pub fn enter_event_handler_scope() -> EventHandlerScopeGuardMarks the thread as inside an event handler until the returned guard is dropped. In debug builds, a state write there that is not inside a snapshot logs a warning.