BridgeSnapshotBatch class

Namespace Runic.Application.Views in Runic.Application.Views 0.23.0

public static class BridgeSnapshotBatch

Defers notification-driven bridge snapshots for one model until the outermost scope ends. Use this around a synchronous bulk mutation:

using var batch = BridgeSnapshotBatch.Begin(viewModel);

Remarks

The scope does not hold the model turn or a model lock while user code runs. It is deliberately synchronous; do not carry it across an await. Direct route replies, including checked-write receipts and command replies, still capture their state immediately.

Methods

Begin

public static IDisposable Begin(object model)

Begins a model-local snapshot batch.