Packages

object IO extends IOCompanionPlatform with IOLowPriorityImplicits

Linear Supertypes
IOLowPriorityImplicits, IOCompanionPlatform, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IO
  2. IOLowPriorityImplicits
  3. IOCompanionPlatform
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class IOMonoid[A] extends IOSemigroup[A] with Monoid[IO[A]]
    Attributes
    protected
  2. class IOSemigroup[A] extends Semigroup[IO[A]]
    Attributes
    protected
    Definition Classes
    IOLowPriorityImplicits
  3. class IOSemigroupK extends SemigroupK[IO]
    Attributes
    protected

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. def apply[A](thunk: ⇒ A): IO[A]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def async[A](k: ((Either[Throwable, A]) ⇒ Unit) ⇒ IO[Option[IO[Unit]]]): IO[A]
  7. def async_[A](k: ((Either[Throwable, A]) ⇒ Unit) ⇒ Unit): IO[A]
  8. def blocking[A](thunk: ⇒ A): IO[A]
    Definition Classes
    IOCompanionPlatform
  9. def both[A, B](left: IO[A], right: IO[B]): IO[(A, B)]
  10. def bothOutcome[A, B](left: IO[A], right: IO[B]): IO[(OutcomeIO[A], OutcomeIO[B])]
  11. def canceled: IO[Unit]
  12. def cede: IO[Unit]
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  14. def defer[A](thunk: ⇒ IO[A]): IO[A]
  15. def delay[A](thunk: ⇒ A): IO[A]
  16. implicit def effectForIO: Effect[IO]
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  19. def eval[A](fa: Eval[A]): IO[A]
  20. def executionContext: IO[ExecutionContext]
  21. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. def fromCompletableFuture[A](fut: IO[CompletableFuture[A]]): IO[A]
    Definition Classes
    IOCompanionPlatform
  23. def fromEither[A](e: Either[Throwable, A]): IO[A]
  24. def fromFuture[A](fut: IO[Future[A]]): IO[A]
  25. def fromOption[A](o: Option[A])(orElse: ⇒ Throwable): IO[A]
  26. def fromTry[A](t: Try[A]): IO[A]
  27. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  29. def interruptible[A](many: Boolean)(thunk: ⇒ A): IO[A]
    Definition Classes
    IOCompanionPlatform
  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. implicit def monoidForIO[A](implicit arg0: Monoid[A]): Monoid[IO[A]]
  32. def monotonic: IO[FiniteDuration]
  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. def never[A]: IO[A]
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. implicit def parallelForIO: Aux[IO, [β$1$]T[IO, β$1$]]
  38. def pure[A](value: A): IO[A]
  39. def race[A, B](left: IO[A], right: IO[B]): IO[Either[A, B]]
  40. def racePair[A, B](left: IO[A], right: IO[B]): IO[Either[(OutcomeIO[A], FiberIO[B]), (FiberIO[A], OutcomeIO[B])]]
  41. def raiseError[A](t: Throwable): IO[A]
  42. def raiseUnless(cond: Boolean)(e: ⇒ Throwable): IO[Unit]

    Returns raiseError when cond is false, otherwise IO.unit

    Returns raiseError when cond is false, otherwise IO.unit

    Example:
    1. val tooMany = 5
      val x: Int = ???
      IO.raiseUnless(x < tooMany)(new IllegalArgumentException("Too many"))
  43. def raiseWhen(cond: Boolean)(e: ⇒ Throwable): IO[Unit]

    Returns raiseError when the cond is true, otherwise IO.unit

    Returns raiseError when the cond is true, otherwise IO.unit

    Example:
    1. val tooMany = 5
      val x: Int = ???
      IO.raiseWhen(x >= tooMany)(new IllegalArgumentException("Too many"))
  44. def realTime: IO[FiniteDuration]
  45. implicit def semigroupForIO[A](implicit arg0: Semigroup[A]): Semigroup[IO[A]]
    Definition Classes
    IOLowPriorityImplicits
  46. implicit val semigroupKForIO: SemigroupK[IO]
  47. implicit def showForIO[A](implicit arg0: Show[A]): Show[IO[A]]
  48. implicit def showForIONoPure[A]: Show[IO[A]]
    Definition Classes
    IOLowPriorityImplicits
  49. def sleep(delay: FiniteDuration): IO[Unit]
  50. def suspend[A](hint: Type)(thunk: ⇒ A): IO[A]
    Definition Classes
    IOCompanionPlatform
  51. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  52. def toK[F[_]](implicit arg0: Effect[F]): ~>[IO, F]
  53. def toString(): String
    Definition Classes
    AnyRef → Any
  54. def uncancelable[A](body: (Poll[IO]) ⇒ IO[A]): IO[A]
  55. def unit: IO[Unit]
  56. def unlessA(cond: Boolean)(action: ⇒ IO[Unit]): IO[Unit]

    Returns the given argument if cond is false, otherwise IO.Unit

    Returns the given argument if cond is false, otherwise IO.Unit

    See also

    IO.whenA for the inverse

    IO.raiseWhen for conditionally raising an error

  57. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  60. def whenA(cond: Boolean)(action: ⇒ IO[Unit]): IO[Unit]

    Returns the given argument if cond is true, otherwise IO.Unit

    Returns the given argument if cond is true, otherwise IO.Unit

    See also

    IO.unlessA for the inverse

    IO.raiseWhen for conditionally raising an error

Inherited from IOLowPriorityImplicits

Inherited from IOCompanionPlatform

Inherited from AnyRef

Inherited from Any

Ungrouped