PatchbayVersionedSnapshotSource typedef

PatchbayVersionedSnapshotSource = Future<PatchbaySnapshotSample> Function()

A snapshot source with an explicit, cheap content invalidation signal.

Additive by construction: PatchbaySnapshotSource keeps working unchanged and keeps reporting revisionSource: hostObserved. A host binds one form or the other when it is built; the two are not interchangeable at runtime, because a reader that saw consumerReported once must not have the meaning of the field change under it inside one App instance.

Implementation

typedef PatchbayVersionedSnapshotSource =
    Future<PatchbaySnapshotSample> Function();