UIO

object UIO extends Companion
class Companion
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[A](a: => A): UIO[A]
See also
def defer[A](fa: => UIO[A]): UIO[A]
See also
def deferAction[A](f: Scheduler => UIO[A]): UIO[A]
def deferTotal[A](fa: => UIO[A]): UIO[A]
def delay[A](a: => A): UIO[A]
See also
def eval[A](a: => A): UIO[A]
See also
def evalAsync[A](a: => A): UIO[A]
def evalTotal[A](a: => A): UIO[A]
def fromCancelablePromiseEither[A](p: CancelablePromise[Either[Nothing, A]]): UIO[A]
def left[A, B](a: A): UIO[Either[A, B]]
See also
def map2[A1, A2, R](fa1: UIO[A1], fa2: UIO[A2])(f: (A1, A2) => R): UIO[R]
See also
def map3[A1, A2, A3, R](fa1: UIO[A1], fa2: UIO[A2], fa3: UIO[A3])(f: (A1, A2, A3) => R): UIO[R]
See also
def map4[A1, A2, A3, A4, R](fa1: UIO[A1], fa2: UIO[A2], fa3: UIO[A3], fa4: UIO[A4])(f: (A1, A2, A3, A4) => R): UIO[R]
See also
def map5[A1, A2, A3, A4, A5, R](fa1: UIO[A1], fa2: UIO[A2], fa3: UIO[A3], fa4: UIO[A4], fa5: UIO[A5])(f: (A1, A2, A3, A4, A5) => R): UIO[R]
See also
def map6[A1, A2, A3, A4, A5, A6, R](fa1: UIO[A1], fa2: UIO[A2], fa3: UIO[A3], fa4: UIO[A4], fa5: UIO[A5], fa6: UIO[A6])(f: (A1, A2, A3, A4, A5, A6) => R): UIO[R]
See also
def mapBoth[A1, A2, R](fa1: UIO[A1], fa2: UIO[A2])(f: (A1, A2) => R): UIO[R]
def none[A]: UIO[Option[A]]
See also
def now[A](a: A): UIO[A]
See also
def parMap2[A1, A2, R](fa1: UIO[A1], fa2: UIO[A2])(f: (A1, A2) => R): UIO[R]
def parMap3[A1, A2, A3, R](fa1: UIO[A1], fa2: UIO[A2], fa3: UIO[A3])(f: (A1, A2, A3) => R): UIO[R]
def parMap4[A1, A2, A3, A4, R](fa1: UIO[A1], fa2: UIO[A2], fa3: UIO[A3], fa4: UIO[A4])(f: (A1, A2, A3, A4) => R): UIO[R]
def parMap5[A1, A2, A3, A4, A5, R](fa1: UIO[A1], fa2: UIO[A2], fa3: UIO[A3], fa4: UIO[A4], fa5: UIO[A5])(f: (A1, A2, A3, A4, A5) => R): UIO[R]
def parMap6[A1, A2, A3, A4, A5, A6, R](fa1: UIO[A1], fa2: UIO[A2], fa3: UIO[A3], fa4: UIO[A4], fa5: UIO[A5], fa6: UIO[A6])(f: (A1, A2, A3, A4, A5, A6) => R): UIO[R]
See also
def parSequence[A](in: Iterable[UIO[A]]): UIO[List[A]]
def parSequenceN[A](parallelism: Int)(in: Iterable[UIO[A]]): UIO[List[A]]
def parSequenceUnordered[A](in: Iterable[UIO[A]]): UIO[List[A]]
def parTraverse[A, B](in: Iterable[A])(f: A => UIO[B]): UIO[List[B]]
def parTraverseN[A, B](parallelism: Int)(in: Iterable[A])(f: A => UIO[B]): UIO[List[B]]
def parTraverseUnordered[A, B](in: Iterable[A])(f: A => UIO[B]): UIO[List[B]]
def parZip2[A1, A2, R](fa1: UIO[A1], fa2: UIO[A2]): UIO[(A1, A2)]
See also
def parZip3[A1, A2, A3](fa1: UIO[A1], fa2: UIO[A2], fa3: UIO[A3]): UIO[(A1, A2, A3)]
See also
def parZip4[A1, A2, A3, A4](fa1: UIO[A1], fa2: UIO[A2], fa3: UIO[A3], fa4: UIO[A4]): UIO[(A1, A2, A3, A4)]
See also
def parZip5[A1, A2, A3, A4, A5](fa1: UIO[A1], fa2: UIO[A2], fa3: UIO[A3], fa4: UIO[A4], fa5: UIO[A5]): UIO[(A1, A2, A3, A4, A5)]
See also
def parZip6[A1, A2, A3, A4, A5, A6](fa1: UIO[A1], fa2: UIO[A2], fa3: UIO[A3], fa4: UIO[A4], fa5: UIO[A5], fa6: UIO[A6]): UIO[(A1, A2, A3, A4, A5, A6)]
See also
def pure[A](a: A): UIO[A]
See also
def race[A, B](fa: UIO[A], fb: UIO[B]): UIO[Either[A, B]]
See also
def raceMany[A](tasks: Iterable[UIO[A]]): UIO[A]
def racePair[A, B](fa: UIO[A], fb: UIO[B]): UIO[Either[(A, Fiber[Nothing, B]), (Fiber[Nothing, A], B)]]
def rethrow[A](fa: UIO[Either[Nothing, A]]): UIO[A]
def right[A, B](b: B): UIO[Either[A, B]]
See also
def sequence[A](in: Iterable[UIO[A]]): UIO[List[A]]
def shift(ec: ExecutionContext): UIO[Unit]
See also
def sleep(timespan: FiniteDuration): UIO[Unit]
See also
def some[A](a: A): UIO[Option[A]]
See also
def suspend[A](fa: => UIO[A]): UIO[A]
def suspendTotal[A](fa: => UIO[A]): UIO[A]
def tailRecM[A, B](a: A)(f: A => UIO[Either[A, B]]): UIO[B]
def terminate(ex: Throwable): UIO[Nothing]
def traverse[A, B](in: Iterable[A])(f: A => UIO[B]): UIO[List[B]]
def unless(cond: Boolean)(action: => UIO[Unit]): UIO[Unit]
See also
def when(cond: Boolean)(action: => UIO[Unit]): UIO[Unit]
See also

Deprecated and Inherited methods

@deprecated("Use parSequence", "0.1.0")
def gather[A](in: Iterable[UIO[A]]): UIO[List[A]]

DEPRECATED — renamed to UIO.parSequence.

DEPRECATED — renamed to UIO.parSequence.

Deprecated
Inherited from
Companion
@deprecated("Use parSequenceN", "0.1.0")
def gatherN[A](parallelism: Int)(in: Iterable[UIO[A]]): UIO[List[A]]

DEPRECATED — renamed to UIO.parSequenceN

DEPRECATED — renamed to UIO.parSequenceN

Deprecated
Inherited from
Companion
@deprecated("Use parSequenceUnordered", "0.1.0")
def gatherUnordered[A](in: Iterable[UIO[A]]): UIO[List[A]]

DEPRECATED — renamed to UIO.parSequenceUnordered

DEPRECATED — renamed to UIO.parSequenceUnordered

Deprecated
Inherited from
Companion
@deprecated("Use parTraverse", "0.1.0")
def wander[A, B](in: Iterable[A])(f: A => UIO[B]): UIO[List[B]]

DEPRECATED — renamed to UIO.parTraverse

DEPRECATED — renamed to UIO.parTraverse

Deprecated
Inherited from
Companion
@deprecated("Use parTraverseN", "0.1.0")
def wanderN[A, B](parallelism: Int)(in: Iterable[A])(f: A => UIO[B]): UIO[List[B]]

DEPRECATED — renamed to UIO.parTraverseN

DEPRECATED — renamed to UIO.parTraverseN

Deprecated
Inherited from
Companion
@deprecated("Use parTraverseUnordered", "3.2.0")
def wanderUnordered[A, B](in: Iterable[A])(f: A => UIO[B]): UIO[List[B]]

DEPRECATED — renamed to IO.parTraverseUnordered

DEPRECATED — renamed to IO.parTraverseUnordered

Deprecated
Inherited from
Companion

Concrete fields

val never: UIO[Nothing]
See also
val shift: UIO[Unit]
See also

See [monix.bio.IO$.shift:monix\.bio\.UIO*]

val unit: UIO[Unit]
See also