<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/firestore](./firestore.md) &gt; [/](./firestore_.md) &gt; [Unsubscribe](./firestore_.unsubscribe.md)

## Unsubscribe interface

A function returned by `onSnapshot()` that removes the listener when invoked.

<b>Signature:</b>

```typescript
export declare interface Unsubscribe 
```
