@zeix/ui-element
Version:
UIElement - a HTML-first library for reactive Web Components
26 lines (13 loc) • 379 B
Markdown
[**@zeix/ui-element**](../README.md)
***
[@zeix/ui-element](../globals.md) / batch
# Function: batch()
> **batch**(`fn`): `void`
Defined in: node\_modules/@zeix/cause-effect/src/scheduler.ts:112
Batch multiple changes in a single signal graph and DOM update cycle
## Parameters
### fn
() => `void`
function with multiple signal writes to be batched
## Returns
`void`