Packages

trait IOOps[R] extends IOBaseOps[R]

Operations for an IO with a fixed R

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IOOps
  2. IOBaseOps
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. 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 access[A](f: (R) => A): RIO[R, A]

    Returns a operation that requires this resource.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. def foreach[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.

  11. def foreach[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.

  12. def fromCallback[A](operation: ((Try[A]) => Unit) => Unit): RIO[R, Poll[A]]

    Returns a Poll from a function that receives a callback

    Returns a Poll from a function that receives a callback

    Definition Classes
    IOBaseOps
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. val noop: RIO[R, Unit]

    An operation that does nothing.

    An operation that does nothing.

    Definition Classes
    IOBaseOps
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def pure[A](x: A): RIO[R, A]

    Lifts a value into a RIO.

    Lifts a value into a RIO.

    Definition Classes
    IOBaseOps
  21. def sequence[A](it: Iterable[RIO[R, A]]): RIO[R, List[A]]

    Converts an Iterable[RIO[R, A]] into a RIO[R, List[A]].

  22. def sequence_(it: Iterable[RIO[R, Any]]): RIO[R, Unit]

    Converts an Iterable[RIO[R, A]] into a RIO[R, Unit].

  23. def suspend[A](x: => A): RIO[R, A]

    Suspends a computation into a RIO.

    Suspends a computation into a RIO.

    Definition Classes
    IOBaseOps
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. def traverse[A, B](it: Iterable[A])(f: (A) => RIO[R, B]): RIO[R, List[B]]

    Converts an Iterable[A] into a RIO[R, List[B]] by applying an operation to each element.

  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. def when(predicate: Boolean)(io: => RIO[R, Unit]): RIO[R, Unit]

    Runs a computation only if the predicate is true, otherwise does nothing

Inherited from IOBaseOps[R]

Inherited from AnyRef

Inherited from Any

Ungrouped