Fake Mirrors
    Preparing search index...

    Interface WebhookQueue

    Defines the public contract for a webhook queue.

    interface WebhookQueue {
        addJob(name: string, data: WebhookJobData): Promise<void>;
        close(): Promise<void>;
        getJobCount(): Promise<number>;
    }

    Implemented by

    • Gracefully closes the queue.

      This method should be called during application shutdown.

      Returns Promise<void>

      BootstrapError If the queue cannot be closed properly.