trait IOOps[R] extends IOBaseOps[R]
Operations for an IO with a fixed R
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- IOOps
- IOBaseOps
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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[A](f: (R) ⇒ A): RIO[R, A]
Returns a operation that requires this resource.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
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. -
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. -
def
fromCallback[A](operation: ((Try[A]) ⇒ Unit) ⇒ Unit): RIO[R, Poll[A]]
Returns a Poll from a function that receives a callback
-
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
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
val
noop: RIO[R, 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[R, A]
Lifts a value into a RIO.
-
def
sequence[A](it: Iterable[RIO[R, A]]): RIO[R, List[A]]
Converts an
Iterable[RIO[R, A]]into aRIO[R, List[A]]. -
def
sequence_(it: Iterable[RIO[R, Any]]): RIO[R, Unit]
Converts an
Iterable[RIO[R, A]]into aRIO[R, Unit]. -
def
suspend[A](x: ⇒ A): RIO[R, 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[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( ... )
-
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()
-
def
when(predicate: Boolean)(io: ⇒ RIO[R, Unit]): RIO[R, Unit]
Runs a computation only if the predicate is true, otherwise does nothing