Packages

trait Async[F[_]] extends Dispatch[F]

Linear Supertypes
Dispatch[F], Effect[F], Monad[F], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Async
  2. Dispatch
  3. Effect
  4. Monad
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def async[A](f: Untyped[A]): F[A]
  2. abstract def async_(onCompletion: (Untyped[Unit]) => Untyped[Unit]): F[Unit]
  3. abstract def delay[A](a: => A): F[A]
    Definition Classes
    Effect
  4. abstract def dispatch[A](fa: F[A]): Unit

    Fire and forget, could be sync or async

    Fire and forget, could be sync or async

    Definition Classes
    Dispatch
  5. abstract def dispatchFn[A](fa: => F[A]): Function0[Unit]
    Definition Classes
    Dispatch
  6. abstract def finallyRun[A, B](fa: => F[A], runFinally: => F[B]): F[A]

    Wraps this callback in a try-finally block and runs the given callback in the finally clause, after the current callback completes, be it in error or success.

    Wraps this callback in a try-finally block and runs the given callback in the finally clause, after the current callback completes, be it in error or success.

    Definition Classes
    Effect
  7. abstract def first[A](f: Untyped[A]): F[A]
  8. abstract def flatMap[A, B](fa: F[A])(f: (A) => F[B]): F[B]
    Definition Classes
    Monad
  9. abstract def fromJsPromise[A](pa: => Thenable[A]): F[A]
  10. abstract def handleError[A, AA >: A](fa: => F[A])(f: (Throwable) => F[AA]): F[AA]
    Definition Classes
    Effect
  11. abstract def map[A, B](fa: F[A])(f: (A) => B): F[B]
    Definition Classes
    Monad
  12. abstract def pure[A](a: A): F[A]
    Definition Classes
    Monad
  13. abstract def runAsync[A](fa: => F[A]): Untyped[A]
  14. abstract def suspend[A](fa: => F[A]): F[A]
    Definition Classes
    Effect
  15. abstract def tailrec[A, B](a: A)(f: (A) => F[Either[A, B]]): F[B]
    Definition Classes
    Monad
  16. abstract def toJsPromise[A](fa: => F[A]): () => Promise[A]

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. final def chain[A, B, C, D](fa: F[A], fb: F[B], fc: F[C], fd: F[D]): F[D]
    Definition Classes
    Monad
    Annotations
    @inline()
  6. final def chain[A, B, C](fa: F[A], fb: F[B], fc: F[C]): F[C]
    Definition Classes
    Monad
    Annotations
    @inline()
  7. def chain[A, B](fa: F[A], fb: F[B]): F[B]
    Definition Classes
    Monad
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def subst[G[_], X[_[_]]](xg: X[G])(xf: => X[F])(implicit g: Async[G]): X[F]
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. final def throwException[A](t: Throwable): F[A]
    Definition Classes
    Effect
    Annotations
    @inline()
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def transAsync[G[_], A](ga: => G[A])(implicit g: Async[G]): F[A]
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

Inherited from Dispatch[F]

Inherited from Effect[F]

Inherited from Monad[F]

Inherited from AnyRef

Inherited from Any

Ungrouped