Interface: SleepOptions
Defined in: sleep.ts:1
Properties
ref?
optionalref: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?
optionalsignal:AbortSignal
Defined in: sleep.ts:5
When provided the corresponding AbortController can be used to cancel an asynchronous action.