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:249](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L249)
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:251](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L251)
19​
20***
21​
22### type
23​
24```ts
25type: "unsubscribed";
26```
27​
28Defined in: [packages/db/src/types.ts:250](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L250)