@Cards-TS
    Preparing search index...

    Interface HandlerResponsesQueue<Item>

    interface HandlerResponsesQueue<Item extends Message> {
        map<PreMapped extends Message>(
            mapping: (item: PreMapped) => WithOrWithoutData<Item>,
        ): MessageQueue<PreMapped>;
        push(item: Item): void;
        push(item: Promise<WithOrWithoutData<undefined | Item>>): void;
        push(item: undefined | Item, data: HandlerCustomData): void;
    }

    Type Parameters

    Index

    Methods

    Methods