Effect

sealed trait Effect[+A]
Companion:
object
class Object
trait Matchable
class Any

Value members

Concrete methods

final def also[B](that: => Effect[B]): Effect[A]
final def alsoPar[B](that: => Effect[B]): Effect[A]
final def and[B](that: => Effect[B]): Effect[B]
final def andPar[B](that: => Effect[B]): Effect[B]
final def as[B](b: => B): Effect[B]
final def delayed(millis: Long): Effect[A]
final def ensuring(finalizer: => Effect[Any]): Effect[A]
final def flatMap[B](f: A => Effect[B]): Effect[B]
final def fold[B](ifError: Either[Throwable, E] => B, ifValue: A => B): Effect[B]
final def foldEffect[B](ifError: Either[Throwable, E] => Effect[B], ifValue: A => Effect[B]): Effect[B]
final def forever: Effect[Nothing]
final def fork: Effect[Fiber[A]]
final def handleAllErrors[AA >: A](handler: Either[Throwable, E] => AA): Effect[AA]
final def handleAllErrorsEffect[AA >: A](handler: Either[Throwable, E] => Effect[AA]): Effect[AA]
final def handleError[AA >: A](handler: E => AA): Effect[AA]
final def handleErrorEffect[AA >: A](handler: E => Effect[AA]): Effect[AA]
final def handleUnexpectedError[AA >: A](handler: Throwable => AA): Effect[AA]
final def handleUnexpectedErrorEffect[AA >: A](handler: Throwable => Effect[AA]): Effect[AA]
final def map[B](f: A => B): Effect[B]
final def mapError(mapper: E => E): Effect[A]
final def mapUnexpectedError(mapper: Throwable => Throwable): Effect[A]
final def on(executor: ExecutionContextExecutor): Effect[A]
final def repeat(times: Int): Effect[Unit]
final def tuple[B](that: => Effect[B]): Effect[(A, B)]
final def tuplePar[B](that: => Effect[B]): Effect[(A, B)]
final def uninterruptible: Effect[A]
final def unsafeRun(executor: ExecutionContextExecutor, traceEnabled: Boolean): Result[A]
final def zip[B, C](that: => Effect[B])(f: (A, B) => C): Effect[C]
final def zipEffect[B, C](that: => Effect[B])(f: (A, B) => Effect[C]): Effect[C]
final def zipPar[B, C](that: => Effect[B])(f: (A, B) => C): Effect[C]
final def zipParEffect[B, C](that: => Effect[B])(f: (A, B) => Effect[C]): Effect[C]