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

effect.md

48 lines703 Bytes

1---
2id: Effect
3title: Effect
4---
5​
6<!-- DO NOT EDIT: this page is autogenerated from the type comments -->
7​
8# Class: Effect
9​
10Defined in: [effect.ts:17](https://github.com/TanStack/store/blob/main/packages/store/src/effect.ts#L17)
11​
12## Constructors
13​
14### new Effect()
15​
16```ts
17new Effect(opts): Effect
18```
19​
20Defined in: [effect.ts:23](https://github.com/TanStack/store/blob/main/packages/store/src/effect.ts#L23)
21​
22#### Parameters
23​
24##### opts
25​
26`EffectOptions`
27​
28#### Returns
29​
30[`Effect`](../effect.md)
31​
32## Methods
33​
34### mount()
35​
36```ts
37mount(): () => void
38```
39​
40Defined in: [effect.ts:39](https://github.com/TanStack/store/blob/main/packages/store/src/effect.ts#L39)
41​
42#### Returns
43​
44`Function`
45​
46##### Returns
47​
48`void`