Applesauce
    Preparing search index...

    Interface SyncLoaderRelay

    The minimal relay interface the sync loader needs (structurally satisfied by applesauce-relay's Relay)

    interface SyncLoaderRelay {
        getLimitations?(): Promise<{ max_limit?: number } | null | undefined>;
        getSupported(): Promise<number[] | null>;
        request(
            filters: Filter | Filter[],
            opts?: SyncMethodOptions,
        ): Observable<NostrEvent>;
        sync(
            store: unknown,
            filter: Filter,
            direction?: unknown,
            opts?: SyncMethodOptions,
        ): Observable<SyncResult>;
    }
    Index
    • Returns Promise<{ max_limit?: number } | null | undefined>