BeforeHandleEventResult: {
    canHandle: boolean;
    message?: string;
}

The result of the beforeHandleEvent method.

Type declaration

  • canHandle: boolean

    If the event should be handled. If the value is false, the event will be ignored.

  • Optionalmessage?: string

    The message to send to the client if the event is ignored.