Trait/Object

fs2.util

Async

Related Docs: object Async | package util

Permalink

trait Async[F[_]] extends Effect[F]

Self Type
Async[F]
Annotations
@implicitNotFound( ... )
Source
Async.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Async
  2. Effect
  3. Suspendable
  4. Catchable
  5. Monad
  6. Functor
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def attempt[A](fa: F[A]): F[Attempt[A]]

    Permalink
    Definition Classes
    Catchable
  2. abstract def fail[A](err: Throwable): F[A]

    Permalink
    Definition Classes
    Catchable
  3. abstract def flatMap[A, B](a: F[A])(f: (A) ⇒ F[B]): F[B]

    Permalink
    Definition Classes
    Monad
  4. abstract def pure[A](a: A): F[A]

    Permalink
    Definition Classes
    Monad
  5. abstract def ref[A]: F[Ref[F, A]]

    Permalink

    Create an asynchronous, concurrent mutable reference.

  6. abstract def suspend[A](fa: ⇒ F[A]): F[A]

    Permalink

    Returns an F[A] that evaluates and runs the provided fa on each run.

    Returns an F[A] that evaluates and runs the provided fa on each run.

    Definition Classes
    Suspendable
  7. abstract def unsafeRunAsync[A](fa: F[A])(cb: (Attempt[A]) ⇒ Unit): Unit

    Permalink

    Evaluates the specified F[A], possibly asynchronously, and calls the specified callback with the result of the evaluation.

    Evaluates the specified F[A], possibly asynchronously, and calls the specified callback with the result of the evaluation.

    Definition Classes
    Effect

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Async[F] to any2stringadd[Async[F]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Async[F], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Async[F] to ArrowAssoc[Async[F]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def async[A](register: ((Either[Throwable, A]) ⇒ Unit) ⇒ F[Unit]): F[A]

    Permalink

    Create an F[A] from an asynchronous computation, which takes the form of a function with which we can register a callback.

    Create an F[A] from an asynchronous computation, which takes the form of a function with which we can register a callback. This can be used to translate from a callback-based API to a straightforward monadic version.

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def delay[A](a: ⇒ A): F[A]

    Permalink

    Promotes a non-strict value to an F.

    Promotes a non-strict value to an F. Evaluates a each time the returned effect is run.

    Definition Classes
    Suspendable
  10. def ensuring(cond: (Async[F]) ⇒ Boolean, msg: ⇒ Any): Async[F]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Async[F] to Ensuring[Async[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (Async[F]) ⇒ Boolean): Async[F]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Async[F] to Ensuring[Async[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): Async[F]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Async[F] to Ensuring[Async[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): Async[F]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Async[F] to Ensuring[Async[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Async[F] to StringFormat[Async[F]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def map[A, B](a: F[A])(f: (A) ⇒ B): F[B]

    Permalink
    Definition Classes
    MonadFunctor
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. def parallelSequence[A](v: Seq[F[A]]): F[Vector[A]]

    Permalink
  26. def parallelTraverse[A, B](s: Seq[A])(f: (A) ⇒ F[B]): F[Vector[B]]

    Permalink
  27. def refOf[A](a: A): F[Ref[F, A]]

    Permalink

    Create an asynchronous, concurrent mutable reference, initialized to a.

  28. def sequence[A](v: Seq[F[A]]): F[Vector[A]]

    Permalink
    Definition Classes
    Monad
  29. def start[A](f: F[A]): F[F[A]]

    Permalink

    Begin asynchronous evaluation of f when the returned F[F[A]] is bound.

    Begin asynchronous evaluation of f when the returned F[F[A]] is bound. The inner F[A] will block until the result is available.

  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. def traverse[A, B](v: Seq[A])(f: (A) ⇒ F[B]): F[Vector[B]]

    Permalink
    Definition Classes
    Monad
  33. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. def [B](y: B): (Async[F], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Async[F] to ArrowAssoc[Async[F]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Effect[F]

Inherited from Suspendable[F]

Inherited from Catchable[F]

Inherited from Monad[F]

Inherited from Functor[F]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Async[F] to any2stringadd[Async[F]]

Inherited by implicit conversion StringFormat from Async[F] to StringFormat[Async[F]]

Inherited by implicit conversion Ensuring from Async[F] to Ensuring[Async[F]]

Inherited by implicit conversion ArrowAssoc from Async[F] to ArrowAssoc[Async[F]]

Ungrouped