Readonly
eventGets a counter of event emit calls.
Gets a counter map from events to new listener counts
Readonly
nodeGets an internal unique node identifier, mostly used for debugging.
Gets a counter for the CHANGE
event.
Unregisters a handler for one or more events
name or names of the events to subscribe
handler to unregister
current object instance
Registers a handler for one or more events
name or names of the events to subscribe
handler to register
current object instance
Registers a handler for one or more events to run only once.
name or names of the events to subscribe
handler to execute
current object instance
Subscribes to an event and returns the unsubscription handler
Subscribes to an event and returns the unsubscription handler
JDOM
Optional
configuration: RoleBinding[]Readonly
busGets the bus for this role
Protected
unmountedIndicates if all roles are bound.
Awaits an event with a timeout. Throws JacdacError with timeout if operation does not return.
Optional
token: JDCancellationTokenProtected
logGets the list of roles tracked by the manager
Saves roles status
Updates or creates a new role
name of the role
desired service class
Optional
preferredDeviceId: stringoptional preferred device id
Optional
preferredServiceIndex: numberUpdates the list of roles
Generated using TypeDoc
A role manager