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