BaseJobQueue.drainStop() method

Drain step one: stop consuming. The reader goes, the writer stays — which is what lets the rest of the drain publish anything at all.

Signature:

drainStop(signal: string): Promise<void>;

Parameters

Parameter

Type

Description

signal

string

the signal that started the drain, for the log line

Returns:

Promise<void>

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.