Request that the current run drain cooperatively, stopping at the next superstep boundary. Does not cancel work that is already running.
requestDrain(reason: string = "shutdown")| Name | Type | Description |
|---|---|---|
reason | string | Default: "shutdown"A short description of why the drain was requested. Surfaced on the resulting GraphDrained error. |