kernl API
    Preparing search index...

    Interface LoadCatalogOptions

    Options for loadCatalog.

    interface LoadCatalogOptions {
        cache?: (filters: Filter[]) => Promise<NostrEvent[]>;
        emitMs?: number;
        limit?: number;
        publishers?: readonly string[];
        settleMs?: number;
        store?: { add(event: NostrEvent): unknown };
        timeoutMs?: number;
    }
    Index
    cache?: (filters: Filter[]) => Promise<NostrEvent[]>

    Manifests seen before, listed at once while the relays are asked for newer ones.

    emitMs?: number

    How often the stream emits at most; CATALOG_EMIT_MS by default.

    limit?: number

    Per-relay manifest limit; CATALOG_LIMIT by default.

    publishers?: readonly string[]

    Only manifests from these publishers.

    settleMs?: number

    When an empty list is emitted if nothing has arrived; CATALOG_SETTLE_MS by default.

    store?: { add(event: NostrEvent): unknown }

    Where manifests from the relays are kept, so the event cache holds them for the next visit.

    timeoutMs?: number

    The outer bound on a relay that never finishes; CATALOG_TIMEOUT_MS by default.