namespace / @typed/fx

Versioned

Public namespace exposed as Versioned from @typed/fx.

Package version
2.0.0-beta.13
Category
namespace

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.Service

    Creates a Context-backed Versioned service facade and Layer constructor.

  • Versioned.Versioned

    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 an Effect (to get the current value).

  • Versioned.filterMap

    Filter-maps a Versioned’s output as both an Fx and Effect; the Effect value becomes Option (Some when the predicate holds, None otherwise).

  • Versioned.filterMapEffect

    Filter-maps a Versioned’s output as both an Fx and Effect using an Effect; the Effect value becomes Option.

  • Versioned.hold

    Holds the latest value of a Versioned stream.

  • Versioned.make

    Creates a Versioned value from its components.

  • Versioned.map

    Transform a Versioned’s output value as both an Fx and Effect.

  • Versioned.mapEffect

    Transform a Versioned’s output value as both an Fx and Effect using an Effect.

  • Versioned.multicast

    Multicasts a Versioned stream.

  • Versioned.of

    Creates a Versioned value from a constant.

  • Versioned.provide

    Provides context to a Versioned value.

  • Versioned.replay

    Replays the last bufferSize values of a Versioned stream.

  • Versioned.struct

    Combines multiple Versioned values into a single struct.

  • Versioned.transform

    Transforms a Versioned value into another Versioned value.

  • Versioned.tuple

    Combines multiple Versioned values into a single tuple.

Source