Allows for registering an event handler that responds to inbound /scriptevent commands.

Hierarchy

  • ScriptEventCommandMessageAfterEventSignal

Constructors

Methods

Constructors

Methods

  • Parameters

    Returns ((arg) => void)

    Remarks

    Registers a new ScriptEvent handler.

    This function can't be called in read-only mode.

  • Parameters

    Returns void

    Remarks

    Unsubscribes a particular handler for a ScriptEvent event.

    This function can't be called in read-only mode.

    Throws

    This function can throw errors.