Stone.js API
    Preparing search index...

    Type Alias EventHandlerClass<IncomingEventType, OutgoingResponseType>

    EventHandlerClass: new (
        ...args: any[],
    ) => IEventHandler<IncomingEventType, OutgoingResponseType> | unknown

    Represents an event handler class.

    Type Parameters

    • IncomingEventType extends IIncomingEvent

      The type representing the incoming event.

    • OutgoingResponseType = unknown

      The type representing the outgoing response.