Channel transformations
Constructors
Optional channel transformations
filterMapvariable
Filter-maps a Versioned’s output as both an Fx and Effect; the Effect value becomes
Option(Some when the predicate holds, None otherwise).filterMapEffectvariable
Filter-maps a Versioned’s output as both an Fx and Effect using an Effect; the Effect value becomes
Option.
Services
Servicefunction
Creates a Context-backed Versioned service facade and Layer constructor.
Versioned.Classinterface
Defines the class state contract.
Versioned.Serviceinterface
Defines the service state contract.
providevariable
Provides context to a Versioned value.
State composition
State protocol
Versionedinterface
A Versioned value is a value that changes over time, and each change is associated with a version number. It combines the capabilities of an
Fx(to observe changes) and anEffect(to get the current value).
Type utilities
Versioned.Unifytype-alias
Unifies a Versioned type.
Versioned.VersionContexttype-alias
Extracts the context required to get the version.
Versioned.VersionErrortype-alias
Extracts the error type of the version effect.