Allows for registering an event handler that responds to inbound /scriptevent commands.
export class ScriptEventCommandMessageAfterEventSignal { private constructor(); subscribe( callback: (arg0: ScriptEventCommandMessageAfterEvent) => void, options?: ScriptEventMessageFilterOptions, ): (arg0: ScriptEventCommandMessageAfterEvent) => void; unsubscribe(callback: (arg0: ScriptEventCommandMessageAfterEvent) => void): void;} Copy
export class ScriptEventCommandMessageAfterEventSignal { private constructor(); subscribe( callback: (arg0: ScriptEventCommandMessageAfterEvent) => void, options?: ScriptEventMessageFilterOptions, ): (arg0: ScriptEventCommandMessageAfterEvent) => void; unsubscribe(callback: (arg0: ScriptEventCommandMessageAfterEvent) => void): void;}
Private
Optional
Registers a new ScriptEvent handler.
no-restricted-execution - This function can't be called in restricted-execution mode.
early-execution-allowed - This function can be called in early-execution mode.
Unsubscribes a particular handler for a ScriptEvent event.
Allows for registering an event handler that responds to inbound /scriptevent commands.
Source