Cotal TypeScript packages
    Preparing search index...

    Interface InboxSource

    interface InboxSource {
        drainInbox(limit?: number): InboxItem[];
        drainInboxDeliveries(keys: readonly string[]): ExactDrainResult;
        inboxPreview(scope?: InboxScope): InboxItem[];
        peekInbox(scope?: InboxScope): InboxItem[];
        takeChosen(
            scope: InboxScope,
            choose: (preview: InboxItem[]) => readonly InboxItem[],
        ): Promise<InboxItem[]>;
    }
    Index