• Executes a Mut by a state thread.

    To hide the internal state, the type parameter S is universal quantified.

    Type Parameters

    • A

    Parameters

    • mut: (<S>() => Mut<S, A>)

      To be executed.

        • <S>(): Mut<S, A>
        • Type Parameters

          • S

          Returns Mut<S, A>

    Returns A

    The result of computation.

Generated using TypeDoc