class _ListenerCollection(_CompoundListener):
Instance-level attributes on instances of ._Dispatch
.
Represents a collection of listeners.
As of 0.7.9, _ListenerCollection is only first created via the _EmptyListener.for_modify() method.
Method | __init__ |
Undocumented |
Method | _update |
Populate from the listeners in another _Dispatch object. |
Method | append |
Undocumented |
Method | clear |
Undocumented |
Method | for_modify |
Return an event collection which can be modified. |
Method | insert |
Undocumented |
Method | remove |
Undocumented |
Class Variable | __slots__ |
Undocumented |
Instance Variable | _exec_once |
Undocumented |
Instance Variable | _exec_w_sync_once |
Undocumented |
Instance Variable | listeners |
Undocumented |
Instance Variable | name |
Undocumented |
Instance Variable | parent |
Undocumented |
Instance Variable | parent_listeners |
Undocumented |
Instance Variable | propagate |
Undocumented |
Inherited from _CompoundListener
:
Method | __bool__ |
Undocumented |
Method | __call__ |
Execute this event. |
Method | __iter__ |
Undocumented |
Method | __len__ |
Undocumented |
Method | _exec_once_impl |
Undocumented |
Method | _exec_w_sync_on_first_run |
No summary |
Method | _memoized_attr__exec_once_mutex |
Undocumented |
Method | _set_asyncio |
Undocumented |
Method | exec_once |
Execute this event, but only if it has not been executed already for this collection. |
Method | exec_once_unless_exception |
No summary |
Instance Variable | _exec_once_mutex |
Undocumented |
Inherited from _InstanceLevelDispatch
(via _CompoundListener
):
Method | _adjust_fn_spec |
Undocumented |
Inherited from RefCollection
(via _CompoundListener
, _InstanceLevelDispatch
):
Method | _memoized_attr_ref |
Undocumented |
Inherited from MemoizedSlots
(via _CompoundListener
, _InstanceLevelDispatch
, RefCollection
):
Method | __getattr__ |
Undocumented |
Method | _fallback_getattr |
Undocumented |
_Dispatch
object.Return an event collection which can be modified.
For _ListenerCollection at the instance level of a dispatcher, this returns self.