Packages

c

nelson.CatsHelpers

NelsonEnrichedIO

implicit final class NelsonEnrichedIO[A] extends AnyVal

Source
CatsHelpers.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NelsonEnrichedIO
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NelsonEnrichedIO(io: IO[A])

Value Members

  1. def ensure(failure: ⇒ Throwable)(f: (A) ⇒ Boolean): IO[A]

    Fail with error if the result of the IO does not satsify the predicate

    Fail with error if the result of the IO does not satsify the predicate

    Taken from https://github.com/scalaz/scalaz/blob/series/7.3.x/concurrent/src/main/scala/scalaz/concurrent/Task.scala

  2. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  3. val io: IO[A]
  4. def or(other: IO[A]): IO[A]

    Run other if this IO fails

  5. def timed(timeout: FiniteDuration)(implicit ec: ExecutionContext): IO[A]