Class ScriptEventCommandMessageSignal
Hierarchy
- ScriptEventCommandMessageSignal
Methods
subscribe
- subscribe(callback, options?): ((arg) => void)
-
Parameters
-
callback: ((arg) => void)
-
Returns ((arg) => void)
unsubscribe
- unsubscribe(callback): void
-
Parameters
-
callback: ((arg) => void)
Returns void
Allows for registering an event handler that responds to inbound /scriptevent commands.