Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SubscribeOptions

Hierarchy

Index

Properties

Methods

Properties

signal?: AbortSignal

Can be provided to a function that starts a long running task, which will be aborted when signal is triggered.

timeout?: number

Can be provided to a function that starts a long running task, which will be aborted after provided timeout (in ms).

Methods

  • onError(err: Error): void
  • A callback to receive an error if one occurs during processing subscription messages. Only supported by ipfs-http-client.

    Parameters

    • err: Error

    Returns void

Generated using TypeDoc