@logixjs/core
Preparing search index...
Runtime
batch
Function batch
batch
<
A
>
(
fn
:
()
=>
A
)
:
A
Runtime.batch:
Provides a stronger "tick boundary" for RuntimeStore/TickScheduler than the default microtask boundary.
Sync-only: nested batches flatten; only the outermost batch triggers the flush boundary.
NOT a transaction: no rollback; errors may result in partial commits, but the flush boundary is still released in finally.
WARNING:
Do not
await
inside the batch callback expecting mid-flush; batch only establishes a synchronous boundary.
Type Parameters
A
Parameters
fn
:
()
=>
A
Returns
A
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
@logixjs/core
Loading...
Runtime.batch:
WARNING:
awaitinside the batch callback expecting mid-flush; batch only establishes a synchronous boundary.