trait Effect[F[_]] extends AnyRef
Korolev's internal presentation of effect (such as Future, cats.effect.IO, Monix or ZIO tasks). Contains enough functionality to make Korolev works.
- Annotations
- @implicitNotFound()
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Effect
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def blocking[T](f: => T)(implicit ec: ExecutionContext): F[T]
- abstract def delay[A](value: => A): F[A]
- abstract def fail[A](e: Throwable): F[A]
- abstract def flatMap[A, B](m: F[A])(f: (A) => F[B]): F[B]
- abstract def fork[A](m: => F[A])(implicit ec: ExecutionContext): F[A]
Keep in mind that when F has strict semantic, effect should created inside 'fork()' brackets.
- abstract def fromTry[A](value: => Try[A]): F[A]
- abstract def map[A, B](m: F[A])(f: (A) => B): F[B]
- abstract def never[T]: F[T]
- abstract def promise[A](cb: ((Either[Throwable, A]) => Unit) => Unit): F[A]
- abstract def promiseF[A](cb: ((Either[Throwable, A]) => Unit) => F[Unit]): F[A]
- abstract def pure[A](value: A): F[A]
- abstract def recover[A, AA >: A](m: F[A])(f: PartialFunction[Throwable, AA]): F[AA]
- abstract def recoverF[A, AA >: A](m: F[A])(f: PartialFunction[Throwable, F[AA]]): F[AA]
- abstract def run[A](m: F[A]): Either[Throwable, A]
- abstract def runAsync[A](m: F[A])(callback: (Either[Throwable, A]) => Unit): Unit
- abstract def sequence[A](in: List[F[A]]): F[List[A]]
- abstract def start[A](create: => F[A])(implicit ec: ExecutionContext): F[Fiber[F, A]]
Keep in mind that when F has strict semantic, effect should created inside 'start()' brackets.
- abstract def toFuture[A](m: F[A]): Future[A]
- abstract def unit: F[Unit]
Concrete 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def delayAsync[A](value: => F[A]): F[A]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def none[A]: F[Option[A]]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated