Type alias TaskEither<L, R, Args>

TaskEither<L, R, Args>: ((...args: Args) => IAEither<L, R>)

Type Parameters

  • L

  • R

  • Args extends ReadonlyArray<unknown>

Type declaration

    • (...args: Args): IAEither<L, R>
    • A task that returns an EitherInterface type with syntactic sugar for async unwrapping.

      Generic

      L - left type

      Generic

      R - right type

      Generic

      Args extends ReadonlyArray> - args passed to the task

      Parameters

      • Rest ...args: Args

      Returns IAEither<L, R>

Generated using TypeDoc