Skip to main content

Home > git-documentdb > DatabaseCloseOption

DatabaseCloseOption type#

How to close a database

Signature:
export declare type DatabaseCloseOption = {
force?: boolean;
timeout?: number;
};

Remarks#

  • force: Clear queued tasks immediately.

  • timeout: Clear queued tasks after timeout(msec). Default is 10000.