async-call-rpc

A lightweight JSON RPC client & server

Home > async-call-rpc > AsyncCallOptions > forceSignal

AsyncCallOptions.forceSignal property

AbortSignal to force stop the instance.

Signature:

forceSignal?: AbortSignalLike;

Remarks

signal is used to stop the instance. If the signal is aborted, then all new requests will be rejected, and the pending requests will be forcibly rejected and pending results will be ignored.