Documentation
    Preparing search index...

    Interface CacheAdapter

    Abstract local cache — query and store events.

    interface CacheAdapter {
        isAvailable(): boolean;
        query(filters: NostrFilter[]): Promise<NostrEvent[]>;
        store(event: NostrEvent): void;
    }
    Index

    Methods