Interface StoreConfig<T>

interface StoreConfig<T> {
    buffer_timer: number;
    debug: boolean;
    filter: EventFilter;
    kind: number;
    parser: ((data) => T);
    socket: null | NostrSocket;
    tags: string[][];
    verbose: boolean;
}

Type Parameters

  • T

Properties

buffer_timer: number
debug: boolean
filter: EventFilter
kind: number
parser: ((data) => T)

Type declaration

    • (data): T
    • Parameters

      • data: unknown

      Returns T

socket: null | NostrSocket
tags: string[][]
verbose: boolean

Generated using TypeDoc