Async Batched Transactions
applyTransactionAsync queues transactions and applies them together after a configurable wait, so high-frequency updates cost one render per batch. Callbacks report each transaction's result, and flush forces immediate application.
Planned. This page shows the specification from issue #179. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
2,000 rows with a feed set to 100 updates per second.
Expected behavior
In async mode the render count is bounded by the wait interval and FPS stays high. In sync mode the render count tracks the feed rate. Flush applies the queued transactions immediately.
Planned API surface
api.applyTransactionAsyncasyncTransactionWaitMillisapi.flushAsyncTransactionsonAsyncTransactionsFlushedAcceptance criteria
- Queued transactions are applied in FIFO order (pending)
- Each transaction's callback receives its own result (pending)
- There is one render per flush (pending)
- Flushing on destroy is a no-op and the queue is discarded (pending)