Interface IOptions<Sender, Args>

The options used to construct a new ActivityMonitor.

interface IOptions<Sender, Args> {
    signal: ISignal<Sender, Args>;
    timeout?: number;
}

Type Parameters

  • Sender
  • Args

Properties

Properties

signal: ISignal<Sender, Args>

The signal to monitor.

timeout?: number

The activity timeout in milliseconds.

The default is 1 second.