Marmot-TS
    Preparing search index...

    Type Alias GroupMediaStoreEvents

    A map of events that can be emitted by a GroupMediaStore

    type GroupMediaStoreEvents = {
        cleared: () => void;
        mediaAdded: (sha256Hex: string, entry: StoredMedia) => void;
        mediaRemoved: (sha256Hex: string) => void;
    }
    Index

    Client - Group Media

    Client - Group Media

    cleared: () => void

    Emitted when the entire cache is cleared

    mediaAdded: (sha256Hex: string, entry: StoredMedia) => void

    Emitted when a blob is added to the cache for the first time

    mediaRemoved: (sha256Hex: string) => void

    Emitted when a blob is removed from the cache