Documentation
    Preparing search index...

    Minimal relay-pool surface used by this transport — structurally satisfied by nostr-tools SimplePool. Injectable for testing.

    interface CvmRelayPool {
        publish(
            relays: string[],
            event: NostrEventLike,
        ): void | Promise<unknown>;
        subscribe(
            relays: string[],
            filter: NostrFilterLike,
            params: { oneose?: () => void; onevent?: (event: NostrEventLike) => void },
        ): CvmSubCloser;
    }
    Index

    Methods