implicit final class NelsonEnrichedIO[A] extends AnyVal
- Source
- CatsHelpers.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- NelsonEnrichedIO
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new NelsonEnrichedIO(io: IO[A])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
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
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- val io: IO[A]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
or(other: IO[A]): IO[A]
Run
other
if this IO fails - def timed(timeout: FiniteDuration)(implicit ec: ExecutionContext): IO[A]
-
def
toString(): String
- Definition Classes
- Any