Open History to see the last commit
1---
2id: SubscriptionUnsubscribedEvent
3title: SubscriptionUnsubscribedEvent
4---
5
6# Interface: SubscriptionUnsubscribedEvent
7
8Defined in: [packages/db/src/types.ts:249](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L249)
9
10Event emitted when subscription is unsubscribed
11
12## Properties
13
14### subscription
15
16```ts
17subscription: Subscription;
18```
19
20Defined in: [packages/db/src/types.ts:251](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L251)
21
22***
23
24### type
25
26```ts
27type: "unsubscribed";
28```
29
30Defined in: [packages/db/src/types.ts:250](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L250)