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

[Home](./index.md) &gt; [git-documentdb](./git-documentdb.md) &gt; [Sync](./git-documentdb.sync.md) &gt; [cancel](./git-documentdb.sync.cancel.md)

## Sync.cancel() method

Stop synchronization

<b>Signature:</b>

```typescript
cancel(): boolean;
```
<b>Returns:</b>

boolean

