Documentation
    Preparing search index...

    Interface MockCountState

    In-memory state of the count mock.

    const state = createMockCountService().mock.state();
    state.queries === 0;
    interface MockCountState {
        pendingFailure?: MockCountFailure;
        queries: number;
        relays: string[];
        store: MockNostrStore;
    }
    Index

    Properties

    pendingFailure?: MockCountFailure

    Failure to return on the next query, if any.

    queries: number

    Number of count.query requests handled since construction/reset.

    relays: string[]

    Relay URLs disclosed in successful results.

    Shared event store the counts run over.