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