Skip to main content

closeDefaultDispatcher()

function closeDefaultDispatcher(): Promise<void>;

Drains the default dispatcher's connection pool. CLIs and scripts should await this before exit so Node's event loop empties immediately instead of waiting ~4s on keep-alive. No-op in the browser branch.

Returns

Promise<void>