Trait/Object

swaydb

IO

Related Docs: object IO | package swaydb

Permalink

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

    Permalink

Abstract Value Members

  1. abstract def exists(f: (R) ⇒ Boolean): Boolean

    Permalink
  2. abstract def filter(p: (R) ⇒ Boolean): IO[L, R]

    Permalink
  3. abstract def flatMap[L2 >: L, B](f: (R) ⇒ IO[L2, B])(implicit arg0: ExceptionHandler[L2]): IO[L2, B]

    Permalink
  4. abstract def flatten[L2, R2](implicit ev: <:<[R, IO[L2, R2]]): IO[L2, R2]

    Permalink
  5. abstract def foreach[B](f: (R) ⇒ B): Unit

    Permalink
  6. abstract def get: R

    Permalink
  7. abstract def getOrElse[B >: R](default: ⇒ B): B

    Permalink
  8. abstract def isLeft: Boolean

    Permalink
  9. abstract def isRight: Boolean

    Permalink
  10. abstract def left: IO[Throwable, L]

    Permalink
  11. abstract def map[B](f: (R) ⇒ B): IO[L, B]

    Permalink
  12. abstract def onCompleteSideEffect(f: (IO[L, R]) ⇒ Unit): IO[L, R]

    Permalink
  13. abstract def onLeftSideEffect(f: (Left[L, R]) ⇒ Unit): IO[L, R]

    Permalink
  14. abstract def onRightSideEffect(f: (R) ⇒ Unit): IO[L, R]

    Permalink
  15. abstract def orElse[L2 >: L, B >: R](default: ⇒ IO[L2, B])(implicit arg0: ExceptionHandler[L2]): IO[L2, B]

    Permalink
  16. abstract def recover[B >: R](f: PartialFunction[L, B]): IO[L, B]

    Permalink
  17. abstract def recoverWith[L2 >: L, B >: R](f: PartialFunction[L, IO[L2, B]])(implicit arg0: ExceptionHandler[L2]): IO[L2, B]

    Permalink
  18. abstract def right: IO[Throwable, R]

    Permalink
  19. abstract def toEither: Either[L, R]

    Permalink
  20. abstract def toFuture: Future[R]

    Permalink
  21. abstract def toOption: Option[R]

    Permalink
  22. abstract def toOptionValue: IO[L, Option[R]]

    Permalink
  23. abstract def toTry: Try[R]

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

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  14. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  15. def toDefer[L2 >: L](implicit arg0: ExceptionHandler[L2]): Defer[L2, R]

    Permalink
  16. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def withFilter(p: (R) ⇒ Boolean): WithFilter

    Permalink
    Annotations
    @inline()

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped