vapor-chamber API reference - v1.16.0
    Preparing search index...

    Type Alias OutboxStorage

    Durable storage for the outbox queue. All methods may be sync or async — the outbox awaits them either way. load() returns null when nothing is persisted (or the backing store is unavailable, e.g. SSR).

    type OutboxStorage = {
        load(): OutboxRecord[] | Promise<OutboxRecord[] | null> | null;
        save(records: OutboxRecord[]): void | Promise<void>;
        clear(): void | Promise<void>;
    }
    Index
    • Returns void | Promise<void>