ts-algochat
    Preparing search index...

    Interface SendQueueStorage

    Storage interface for pending messages

    Implementations can use in-memory, localStorage, IndexedDB, etc.

    interface SendQueueStorage {
        clear(): Promise<void>;
        load(): Promise<PendingMessage[]>;
        save(messages: PendingMessage[]): Promise<void>;
    }

    Implemented by

    Index

    Methods

    Methods