Interface: SleepOptions
Properties
ref?
optional
ref:boolean
Set to false
to indicate that the scheduled Timeout
should not require the Node.js event loop to remain active.
Default
true
Defined in
signal?
optional
signal:AbortSignal
When provided the corresponding AbortController
can be used to cancel an asynchronous action.