Skip to main content

snapshot

Function snapshot 

Source
pub fn snapshot<T>(t: T, nondet: NonDet) -> Snapshot<T>
Expand description

Wraps a singleton-like live collection (such as a Singleton, Optional, or a KeyedSingleton with asynchronously updated values) to be sliced into non-deterministic snapshots of its continuously changing value.