async-call-rpc

A lightweight JSON RPC client & server

Home > async-call-rpc > AsyncCallOptions > signal

AsyncCallOptions.signal property

AbortSignal to stop the instance.

Signature:

signal?: AbortSignalLike;

Remarks

signal is used to stop the instance. If the signal is aborted, then all new requests will be rejected, except for the pending ones.