Options for the drain() method
Optional
AbortSignal to cancel the drain operation. When aborted, drain() will resolve immediately with the current state.
Maximum time in milliseconds to wait for jobs to complete. If not specified, drain() will wait indefinitely.
Options for the drain() method