createBatchingHttpBridge — coalescing fetch-based transport plugin.
Same per-dispatch call shape and backend options as createHttpBridge
(CSRF, retry, timeout, session-expiry are all reused via the same
postCommand/httpClient path), but every command dispatched within the
batching window is queued and sent as ONE POST:
Each queued command's own dispatch promise resolves independently — a
caller dispatches exactly as it would against createHttpBridge; the
coalescing is invisible to the call site.
createBatchingHttpBridge — coalescing fetch-based transport plugin.
Same per-dispatch call shape and backend options as createHttpBridge (CSRF, retry, timeout, session-expiry are all reused via the same
postCommand/httpClientpath), but every command dispatched within the batching window is queued and sent as ONE POST:{ commands: [{ id, command, target, payload }, ...] }
matched back against:
{ results: [{ id, ok, state, error }, ...] }
Each queued command's own dispatch promise resolves independently — a caller dispatches exactly as it would against createHttpBridge; the coalescing is invisible to the call site.