Trait/Object

swaydb.data

IO

Related Docs: object IO | package data

Permalink

sealed trait IO[+T] extends AnyRef

IO.Success and IO.Failure are similar to types in scala.util.Try.

IO.Async 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 asAsync: Async[T]

    Permalink
  2. abstract def asIO: IO[T]

    Permalink
  3. abstract def failed: IO[Error]

    Permalink
  4. abstract def filter(p: (T) ⇒ Boolean): IO[T]

    Permalink
  5. abstract def flatMap[U](f: (T) ⇒ IO[U]): IO[U]

    Permalink
  6. abstract def flatten[U](implicit ev: <:<[T, IO[U]]): IO[U]

    Permalink
  7. abstract def foreach[U](f: (T) ⇒ U): Unit

    Permalink
  8. abstract def get: T

    Permalink
  9. abstract def getOrElse[U >: T](default: ⇒ U): U

    Permalink
  10. abstract def isFailure: Boolean

    Permalink
  11. abstract def isLater: Boolean

    Permalink
  12. abstract def isSuccess: Boolean

    Permalink
  13. abstract def map[U](f: (T) ⇒ U): IO[U]

    Permalink
  14. abstract def onFailureSideEffect(f: (Failure[T]) ⇒ Unit): IO[T]

    Permalink
  15. abstract def onSuccessSideEffect(f: (T) ⇒ Unit): IO[T]

    Permalink
  16. abstract def orElse[U >: T](default: ⇒ IO[U]): IO[U]

    Permalink
  17. abstract def recover[U >: T](f: PartialFunction[Error, U]): IO[U]

    Permalink
  18. abstract def recoverWith[U >: T](f: PartialFunction[Error, IO[U]]): IO[U]

    Permalink
  19. abstract def toEither: Either[Error, T]

    Permalink
  20. abstract def toFuture: Future[T]

    Permalink
  21. abstract def toOption: Option[T]

    Permalink
  22. abstract def toTry: Try[T]

    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 toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def withFilter(p: (T) ⇒ 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