Constructor | Description |
|
|
Static member | Description |
Full Usage:
CallbackMap.getPackedCallbackById callbackId callbackMap
Parameters:
string
callbackMap : CallbackMap
Returns: Callback<obj>
|
![]() ![]() ![]() ![]() ![]() ![]() Returns the packed `Callback` (meaning the generic type annotation of the `Callback` is obj, as its handlerfunction is boxed) registered at the given id when it exists.
|
Full Usage:
CallbackMap.registerCallback callback callbackMap
Parameters:
Callback<'Function>
callbackMap : CallbackMap
Returns: CallbackMap
|
![]() ![]() ![]() ![]() ![]() ![]() adds the given `Callback` to the given `CallbackMap` by setting it as dynamic member with the field name equal to the callback output composite id.
|
Full Usage:
CallbackMap.toDependencies callbackMap
Parameters:
CallbackMap
Returns: seq<Callback<obj>>
|
|
Full Usage:
CallbackMap.unregisterCallback callbackId callbackMap
Parameters:
string
callbackMap : CallbackMap
Returns: CallbackMap
|
![]() ![]() ![]() ![]() ![]() ![]() If there is a callback registered at the given id (meaning if there is a dynamic member with the given field name) , removes it from the `CallbackMap`.
|