Open History to see the last commit
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`