Options for once.
once
Optional
Signal that stops the wait. When the signal is aborted the promise rejects with the reason of the signal. Use AbortSignal.timeout(ms) to stop waiting after a time.
AbortSignal.timeout(ms)
Options for
once.