PollOptions: {
    emitMissed?: boolean;
    emitOnBegin?: boolean;
    pollingInterval?: number;
}

Type declaration

  • Optional emitMissed?: boolean

    Whether or not to emit the missed block numbers to the callback.

  • Optional emitOnBegin?: boolean

    Whether or not to emit the latest block number to the callback when the subscription opens.

  • Optional pollingInterval?: number

    Polling frequency (in ms). Defaults to Client's pollingInterval config.

Generated using TypeDoc