Stone.js API
    Preparing search index...

    Interface DispatcherContext<IncomingEventType, OutgoingResponseType>

    Represents a dispatcher context.

    interface DispatcherContext<
        IncomingEventType extends IIncomingEvent,
        OutgoingResponseType = unknown,
    > {
        event: IncomingEventType;
        route: Route<IncomingEventType, OutgoingResponseType>;
    }

    Type Parameters

    • IncomingEventType extends IIncomingEvent
    • OutgoingResponseType = unknown
    Index