<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [git-documentdb](./git-documentdb.md) &gt; [DatabaseCloseOption](./git-documentdb.databasecloseoption.md)

## DatabaseCloseOption type

How to close database

<b>Signature:</b>

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

## Remarks

- force: Clear queued tasks immediately.

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

