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:235](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L235)
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:237](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L237)
21
22***
23
24### type
25
26```ts
27type: "unsubscribed";
28```
29
30Defined in: [packages/db/src/types.ts:236](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L236)