module documentation

Provides managed registration services on behalf of .listen arguments.

By "managed registration", we mean that event listening functions and other objects can be added to various collections in such a way that their membership in all those collections can be revoked at once, based on an equivalent ._EventKey.

Class _​Event​Key Represent .listen arguments.
Function ​_clear Undocumented
Function ​_collection​_gced Undocumented
Function ​_removed​_from​_collection Undocumented
Function ​_stored​_in​_collection Undocumented
Function ​_stored​_in​_collection​_multi Undocumented
Variable ​_collection​_to​_key Given a _ListenerCollection or _ClsLevelListener, can locate all the original listen() arguments and the listener fn contained
Variable ​_key​_to​_collection Given an original listen() argument, can locate all listener collections and the listener fn contained
def _clear(owner, elements):

Undocumented

def _collection_gced(ref):

Undocumented

def _removed_from_collection(event_key, owner):

Undocumented

def _stored_in_collection(event_key, owner):

Undocumented

def _stored_in_collection_multi(newowner, oldowner, elements):

Undocumented

_collection_to_key =

Given a _ListenerCollection or _ClsLevelListener, can locate all the original listen() arguments and the listener fn contained

ref(listenercollection) -> {
ref(listener_fn) -> (target, identifier, fn), ref(listener_fn) -> (target, identifier, fn), ref(listener_fn) -> (target, identifier, fn),

}

_key_to_collection =

Given an original listen() argument, can locate all listener collections and the listener fn contained

(target, identifier, fn) -> {
ref(listenercollection) -> ref(listener_fn) ref(listenercollection) -> ref(listener_fn) ref(listenercollection) -> ref(listener_fn)

}