Interface: SleepOptions
@sapphire/utilities.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
projects/utilities/packages/utilities/src/lib/sleep.ts:12
signal
• Optional
signal: AbortSignal
When provided the corresponding AbortController
can be used to cancel an asynchronous action.