class documentation

Undocumented

Method __bool__ Undocumented
Method __call__ Execute this event.
Method __contains__ Undocumented
Method __iter__ Undocumented
Method __len__ Undocumented
Method exec_once Execute this event, but only if it has not been executed already for this collection.
Method exec_once_unless_exception Execute this event, but only if it has not been executed already for this collection, or was called by a previous exec_once_unless_exception call and raised an exception.
Class Variable __slots__ Undocumented
Class Variable listeners Undocumented
Class Variable parent_listeners Undocumented
Method _exec_once_impl Undocumented
Method _exec_w_sync_on_first_run Execute this event, and use a mutex if it has not been executed already for this collection, or was called by a previous _exec_w_sync_on_first_run call and raised an exception.
Method _memoized_attr__exec_once_mutex Undocumented
Method _set_asyncio Undocumented
Class Variable _exec_once Undocumented
Class Variable _exec_w_sync_once Undocumented
Instance Variable _exec_once_mutex Undocumented

Inherited from _InstanceLevelDispatch:

Method append Undocumented
Method for_modify Return an event collection which can be modified.
Method insert Undocumented
Method remove Undocumented
Class Variable parent Undocumented
Method _adjust_fn_spec Undocumented

Inherited from RefCollection (via _InstanceLevelDispatch):

Class Variable ref Undocumented
Method _memoized_attr_ref Undocumented

Inherited from MemoizedSlots (via _InstanceLevelDispatch, RefCollection):

Method __getattr__ Undocumented
Method _fallback_getattr Undocumented
def __call__(self, *args: Any, **kw: Any): (source)
def __contains__(self, item: Any) -> bool: (source)
def exec_once(self, *args: Any, **kw: Any): (source)

Execute this event, but only if it has not been executed already for this collection.

def exec_once_unless_exception(self, *args: Any, **kw: Any): (source)

Execute this event, but only if it has not been executed already for this collection, or was called by a previous exec_once_unless_exception call and raised an exception. If exec_once was already called, then this method will never run the callable regardless of whether it raised or not. .. versionadded:: 1.3.8

def _exec_once_impl(self, retry_on_exception: bool, *args: Any, **kw: Any): (source)

Undocumented

def _exec_w_sync_on_first_run(self, *args: Any, **kw: Any): (source)

Execute this event, and use a mutex if it has not been executed already for this collection, or was called by a previous _exec_w_sync_on_first_run call and raised an exception. If _exec_w_sync_on_first_run was already called and didn't raise an exception, then a mutex is not used. .. versionadded:: 1.4.11

def _memoized_attr__exec_once_mutex(self) -> _MutexProtocol: (source)

Undocumented

def _set_asyncio(self): (source)

Undocumented

_exec_w_sync_once: bool = (source)

Undocumented

_exec_once_mutex = (source)

Undocumented