Packages

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
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Effect
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def blocking[T](f: ⇒ T)(implicit ec: ExecutionContext): F[T]
  2. abstract def delay[A](value: ⇒ A): F[A]
  3. abstract def fail[A](e: Throwable): F[A]
  4. abstract def flatMap[A, B](m: F[A])(f: (A) ⇒ F[B]): F[B]
  5. 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.

  6. abstract def fromTry[A](value: ⇒ Try[A]): F[A]
  7. abstract def map[A, B](m: F[A])(f: (A) ⇒ B): F[B]
  8. abstract def never[T]: F[T]
  9. abstract def promise[A](cb: ((Either[Throwable, A]) ⇒ Unit) ⇒ Unit): F[A]
  10. abstract def promiseF[A](cb: ((Either[Throwable, A]) ⇒ Unit) ⇒ F[Unit]): F[A]
  11. abstract def pure[A](value: A): F[A]
  12. abstract def recover[A, AA >: A](m: F[A])(f: PartialFunction[Throwable, AA]): F[AA]
  13. abstract def recoverF[A, AA >: A](m: F[A])(f: PartialFunction[Throwable, F[AA]]): F[AA]
  14. abstract def run[A](m: F[A]): Either[Throwable, A]
  15. abstract def runAsync[A](m: F[A])(callback: (Either[Throwable, A]) ⇒ Unit): Unit
  16. abstract def sequence[A](in: List[F[A]]): F[List[A]]
  17. 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.

  18. abstract def toFuture[A](m: F[A]): Future[A]
  19. abstract def unit: F[Unit]

Concrete 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  6. def delayAsync[A](value: ⇒ F[A]): F[A]
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def none[A]: F[Option[A]]
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped