object IO
- Alphabetic
- By Inheritance
- IO
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
type
ApiIO[T] = IO[API, T]
IO type used to access database APIs.
-
type
BootIO[T] = IO[Boot, T]
IO type for database boot up.
- final case class Defer[+E, +A] extends LazyLogging with Product with Serializable
- trait ExceptionHandler[E] extends AnyRef
- implicit class IterableIOImplicit[E, A] extends AnyRef
-
final
case class
Left[+L, +R](value: L)(implicit exceptionHandler: ExceptionHandler[L]) extends IO[L, R] with Product with Serializable
********************* ********************** ********************** ******** LEFT ******** ********************** ********************** **********************
-
type
NothingIO[T] = IO[Nothing, T]
IO type with Nothing error type.
IO type with Nothing error type. Nothing indicates this IO type can never result in an error.
- trait RecoverableExceptionHandler[E] extends ExceptionHandler[E]
-
final
case class
Right[+L, +R](value: R)(implicit exceptionHandler: ExceptionHandler[L]) extends IO[L, R] with Product with Serializable
********************* ********************** ********************** ******** RIGHT ******* ********************** ********************** **********************
-
type
ThrowableIO[T] = IO[Throwable, T]
IO type with Throwable error type.
IO type with Throwable error type. Here all errors are returned as exception.
-
type
UnitIO[T] = IO[Unit, T]
IO type with Unit error type.
IO type with Unit error type. Unit indicates this IO type can never result in an error.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
apply[E, A](f: ⇒ A)(implicit arg0: ExceptionHandler[E]): IO[E, A]
- Annotations
- @inline()
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val emptyBytes: Right[Nothing, Slice[Byte]]
- val emptySeqBytes: Right[Nothing, Seq[Slice[Byte]]]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
failed[E, A](exceptionMessage: String)(implicit arg0: ExceptionHandler[E]): Left[E, A]
- Annotations
- @inline()
-
final
def
failed[E, A](exception: Throwable)(implicit arg0: ExceptionHandler[E]): Left[E, A]
- Annotations
- @inline()
- val false: Right[Nothing, Boolean]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def fromFuture[L, R](future: Future[R])(implicit arg0: ExceptionHandler[L], ec: ExecutionContext): Defer[L, R]
- def fromTry[E, A](tryBlock: Try[A])(implicit arg0: ExceptionHandler[E]): IO[E, A]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def javaExceptionHandler(): ExceptionHandler.type
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val none: Right[Nothing, Option[Nothing]]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val okIO: Right[Nothing, OK]
- val someFalse: IO[Nothing, Some[Boolean]]
- val someTrue: IO[Nothing, Some[Boolean]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
throwable(message: String, inner: Throwable): Throwable
- Annotations
- @inline()
-
final
def
throwable(message: String): Throwable
- Annotations
- @inline()
-
final
def
throws[T](message: String): T
- Annotations
- @inline()
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- val true: Right[Nothing, Boolean]
-
final
def
tryOrNone[A](block: ⇒ A): Option[A]
- Annotations
- @inline()
- val unit: Right[Nothing, Unit]
- val unitUnit: Right[Nothing, Right[Nothing, Unit]]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
when[E, T](condition: ⇒ Boolean, onTrue: ⇒ IO[E, T], onFalse: ⇒ IO[E, T])(implicit arg0: ExceptionHandler[E]): IO[E, T]
- Annotations
- @inline()
-
final
def
when[E, T, F](condition: ⇒ Boolean, onTrue: ⇒ IO[E, T], onFalse: ⇒ T)(f: (T) ⇒ IO[E, F])(implicit arg0: ExceptionHandler[E]): IO[E, F]
- Annotations
- @inline()
- val zero: Right[Nothing, Int]
- val zeroZero: IO[Nothing, Right[Nothing, Int]]
- object Catch
-
object
Defer extends LazyLogging with Serializable
********************************** ********************************** ********************************** ************ DEFERRED ************ ********************************** ********************************** *********************************
- object ExceptionHandler extends LazyLogging