Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

SubscriptionUnsubscribedEvent.md

28 lines596 Bytes

1---
2id: SubscriptionUnsubscribedEvent
3title: SubscriptionUnsubscribedEvent
4---
5​
6Defined in: [packages/db/src/types.ts:264](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L264)
7​
8Event emitted when subscription is unsubscribed
9​
10## Properties
11​
12### subscription
13​
14```ts
15subscription: Subscription;
16```
17​
18Defined in: [packages/db/src/types.ts:266](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L266)
19​
20***
21​
22### type
23​
24```ts
25type: "unsubscribed";
26```
27​
28Defined in: [packages/db/src/types.ts:265](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L265)