Packages

sealed trait IO[+L, +R] extends AnyRef

IO.Right and IO.Left are similar to types in scala.util.Try.

IO.Defer is for performing synchronous and asynchronous IO.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IO
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class WithFilter extends AnyRef

Abstract Value Members

  1. abstract def and[L2 >: L, B](io: ⇒ IO[L2, B])(implicit arg0: ExceptionHandler[L2]): IO[L2, B]
  2. abstract def andThen[B](io: ⇒ B): IO[L, B]
  3. abstract def exceptionHandler: ExceptionHandler[_]
  4. abstract def exists(f: (R) ⇒ Boolean): Boolean
  5. abstract def filter(p: (R) ⇒ Boolean): IO[L, R]
  6. abstract def flatMap[L2 >: L, B](f: (R) ⇒ IO[L2, B])(implicit arg0: ExceptionHandler[L2]): IO[L2, B]
  7. abstract def flatten[L2, R2](implicit ev: <:<[R, IO[L2, R2]]): IO[L2, R2]
  8. abstract def foreach[B](f: (R) ⇒ B): Unit
  9. abstract def get: R
    Annotations
    @throws( ... )
  10. abstract def getOrElse[B >: R](default: ⇒ B): B
  11. abstract def isLeft: Boolean
  12. abstract def isRight: Boolean
  13. abstract def left: IO[Throwable, L]
  14. abstract def map[B](f: (R) ⇒ B): IO[L, B]
  15. abstract def onCompleteSideEffect(f: (IO[L, R]) ⇒ Unit): IO[L, R]
  16. abstract def onLeftSideEffect(f: (Left[L, R]) ⇒ Unit): IO[L, R]
  17. abstract def onRightSideEffect(f: (R) ⇒ Unit): IO[L, R]
  18. abstract def orElse[L2 >: L, B >: R](default: ⇒ IO[L2, B])(implicit arg0: ExceptionHandler[L2]): IO[L2, B]
  19. abstract def recover[B >: R](f: PartialFunction[L, B]): IO[L, B]
  20. abstract def recoverWith[L2 >: L, B >: R](f: PartialFunction[L, IO[L2, B]])(implicit arg0: ExceptionHandler[L2]): IO[L2, B]
  21. abstract def right: IO[Throwable, R]
  22. abstract def toEither: Either[L, R]
  23. abstract def toFuture: Future[R]
  24. abstract def toOption: Option[R]
  25. abstract def toOptionValue: IO[L, Option[R]]
  26. abstract def toTry: Try[R]
  27. abstract def transform[B](f: (R) ⇒ B): IO[L, B]

    Difference between map and transform is that transform does not recovery from exception if the function F throws an Exception.

  28. abstract def valueOrElse[B](f: (R) ⇒ B, orElse: ⇒ B): B

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toDefer[L2 >: L](implicit arg0: ExceptionHandler[L2]): Defer[L2, R]
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  21. final def withFilter(p: (R) ⇒ Boolean): WithFilter
    Annotations
    @inline()

Inherited from AnyRef

Inherited from Any

Ungrouped