bothy-sdk
    Preparing search index...

    Interface OutboxOptions

    Options of Outbox.

    interface OutboxOptions {
        logger?: Logger;
        onFailed?: (entry: OutboxEntry) => void | Promise<void>;
        store?: OutboxStore;
        tokenFor?: (runId: string) => Promise<string | undefined>;
    }
    Index

    Properties

    logger?: Logger

    The logger (default the client's logger).

    onFailed?: (entry: OutboxEntry) => void | Promise<void>

    Called with every entry that failed permanently.

    store?: OutboxStore

    The storage (default MemoryOutboxStore).

    tokenFor?: (runId: string) => Promise<string | undefined>

    Returns the newest invocation token of a run. With it, an entry of a run goes out bound to that run (07 SR9) whenever it is sent, also from a later flush, and an entry of a run without a known token fails instead of going out unbound.