• Creates a computation that sets the new state in the monad.

    Type Parameters

    • S

    Parameters

    • state: S

      The new state value.

    Returns State<S, never[]>

    The computation which sets the new state.

Generated using TypeDoc