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

[Home](./index.md) &gt; [git-documentdb](./git-documentdb.md) &gt; [Task](./git-documentdb.task.md)

## Task type

Task for taskQueue

<b>Signature:</b>

```typescript
export declare type Task = {
    label: TaskLabel;
    taskId: string;
    targetId?: string;
    func: (beforeResolve: () => void, beforeReject: () => void) => Promise<void>;
    cancel: () => void;
};
```
<b>References:</b> [TaskLabel](./git-documentdb.tasklabel.md)

