Open History to see the last commit
1---
2id: batch
3title: batch
4---
5β
6<!-- DO NOT EDIT: this page is autogenerated from the type comments -->
7β
8# Function: batch()
9β
10```ts
11function batch(fn): void
12```
13β
14Defined in: [scheduler.ts:140](https://github.com/TanStack/store/blob/main/packages/store/src/scheduler.ts#L140)
15β
16## Parameters
17β
18### fn
19β
20() => `void`
21β
22## Returns
23β
24`void`