object RIO extends IOBaseOps[Any]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RIO
- IOBaseOps
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
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
- def access[R, A](f: (R) => A): RIO[R, A]
Returns a operation that requires some resource.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def foreach[R, A](it: () => Iterator[A])(f: (A) => RIO[R, Any]): RIO[R, Unit]
Applies an operation to each element of a
Iterator[A]and discards the result. - def foreach[R, A](it: Iterable[A])(f: (A) => RIO[R, Any]): RIO[R, Unit]
Applies an operation to each element of a
Iterable[A]and discards the result. - def fromCallback[A](operation: ((Try[A]) => Unit) => Unit): RIO[Any, Poll[A]]
Returns a Poll from a function that receives a callback
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val noop: RIO[Any, Unit]
An operation that does nothing.
An operation that does nothing.
- Definition Classes
- IOBaseOps
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def pure[A](x: A): RIO[Any, A]
Lifts a value into a RIO.
- def sequence[R, A](it: Iterable[RIO[R, A]]): RIO[R, List[A]]
Converts an
Iterable[RIO[R, A]]into aRIO[R, List[A]]. - def sequence_[R](it: Iterable[RIO[R, Any]]): RIO[R, Unit]
Converts an
Iterable[RIO[R, A]]into aRIO[R, Unit]. - def suspend[A](x: => A): RIO[Any, A]
Suspends a computation into a RIO.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def traverse[R, A, B](it: Iterable[A])(f: (A) => RIO[R, B]): RIO[R, List[B]]
Converts an
Iterable[A]into aRIO[R, List[B]]by applying an operation to each element. - final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def when[R](predicate: Boolean)(io: => RIO[R, Unit]): RIO[R, Unit]
Runs a computation only if the predicate is true, otherwise does nothing