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

Subscribable.md

36 lines709 Bytes

1---
2id: Subscribable
3title: Subscribable
4---
5​
6Defined in: [types.ts:20](https://github.com/TanStack/store/blob/main/packages/store/src/types.ts#L20)
7​
8## Extends
9​
10- [`InteropSubscribable`](InteropSubscribable.md)\<`T`\>
11​
12## Extended by
13​
14- [`Readable`](Readable.md)
15- [`BaseAtom`](BaseAtom.md)
16- [`InternalBaseAtom`](InternalBaseAtom.md)
17​
18## Type Parameters
19​
20### T
21​
22`T`
23​
24## Properties
25​
26### subscribe
27​
28```ts
29subscribe: (observer) => Subscription & (next, error?, complete?) => Subscription;
30```
31​
32Defined in: [types.ts:21](https://github.com/TanStack/store/blob/main/packages/store/src/types.ts#L21)
33​
34#### Overrides
35​
36[`InteropSubscribable`](InteropSubscribable.md).[`subscribe`](InteropSubscribable.md#subscribe)