Import
import { Versioned } from "@typed/fx";This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.
Signatures
export * as Versioned from "./Versioned.js";Members
Versioned.ServiceCreates a Context-backed Versioned service facade and Layer constructor.
Versioned.VersionedA 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).Versioned.filterMapFilter-maps a Versioned’s output as both an Fx and Effect; the Effect value becomes
Option(Some when the predicate holds, None otherwise).Versioned.filterMapEffectFilter-maps a Versioned’s output as both an Fx and Effect using an Effect; the Effect value becomes
Option.Versioned.holdHolds the latest value of a Versioned stream.
Versioned.makeCreates a Versioned value from its components.
Versioned.mapTransform a Versioned’s output value as both an Fx and Effect.
Versioned.mapEffectTransform a Versioned’s output value as both an Fx and Effect using an Effect.
Versioned.multicastMulticasts a Versioned stream.
Versioned.ofCreates a Versioned value from a constant.
Versioned.provideProvides context to a Versioned value.
Versioned.replayReplays the last
bufferSizevalues of a Versioned stream.Versioned.structCombines multiple Versioned values into a single struct.
Versioned.transformTransforms a Versioned value into another Versioned value.
Versioned.tupleCombines multiple Versioned values into a single tuple.