Set to false to indicate that the scheduled Timeout should not require the Node.js event loop to remain active.
interface
timers.TimerOptions
interface TimerOptions
- ref?: boolean
- signal?: AbortSignal
When provided the corresponding
AbortControllercan be used to cancel an asynchronous action.