← Files GoodMemARCHIVED FILE
skills/goodmem-sdk/references/typescript/admin/drain.md
490 Bytes · Oct 4, 2026 · 12:23 UTC
<!-- sdk-ref package=@pairsystems/goodmem registry=npm version=0.1.6 --> # admin.drain Initiates drain mode and optionally waits for the server to quiesce. ```ts drain(request?: AdminDrainRequest, requestOptions?: RequestOptions): Promise<AdminDrainResponseShape> ``` [admin](../admin.md) · [TypeScript](../../typescript.md) Related types — open only those used by your request: - [AdminDrainRequest](../models/AdminDrainRequest.md) - [RequestOptions](../models/RequestOptions.md)
SHA-256: 2430a1ccc1cf866eab84d1d7c04992f12649be4ebe22013e24792509098db2c4