effect-ts-laws
    Preparing search index...

    Function sync

    • Convert an arbitrary of a string error message and an arbitrary of T into a sync effect, possibly suspended.

      Type Parameters

      • T

      Parameters

      • a: Arbitrary<T>
      • message: Arbitrary<string>

      Returns Arbitrary<Effect<T, Error, never>>