Marmot-TS
    Preparing search index...

    Interface GroupRumorHistoryBackend

    A rumor storage interface for the GroupRumorHistory class

    interface GroupRumorHistoryBackend {
        addRumor(message: Rumor): Promise<void>;
        clear(): Promise<void>;
        queryRumors(filters: Filter | Filter[]): Promise<Rumor[]>;
        removeRumor(rumorId: string): Promise<void>;
    }

    Implemented by

    Index
    • Load rumor events from a specific time in history. Results are ordered by created_at descending (newest first).

      Parameters

      • filters: Filter | Filter[]

      Returns Promise<Rumor[]>

    • Durably remove the exact inner rumor; repeated calls must succeed.

      Parameters

      • rumorId: string

      Returns Promise<void>