Packages

object Async extends Serializable

Source
Async.scala
Linear Supertypes
Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Async
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait AllOps[F[_], A] extends Ops[F, A] with Sync.AllOps[F, A] with LiftIO.AllOps[F, A]
  2. trait Ops[F[_], A] extends AnyRef
  3. trait ToAsyncOps extends AnyRef
  4. class ops$ extends AnyRef

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. implicit def ReaderWriterStateTAsync[F[_], E, L, S](implicit arg0: Async[F], arg1: Monoid[L]): Async[[ε$6$]IndexedReaderWriterStateT[F, E, L, S, S, ε$6$]]

    Async instance built for cats.data.ReaderWriterStateT values initialized with any F data type that also implements Async.

  5. def apply[F[_]](implicit instance: Async[F]): Async[F]

    Summon an instance of Async for F.

    Summon an instance of Async for F.

    Annotations
    @inline()
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. implicit def catsEitherTAsync[F[_], L](implicit arg0: Async[F]): Async[[γ$0$]EitherT[F, L, γ$0$]]

    Async instance built for cats.data.EitherT values initialized with any F data type that also implements Async.

  8. implicit def catsIorTAsync[F[_], L](implicit arg0: Async[F], arg1: Semigroup[L]): Async[[γ$5$]IorT[F, L, γ$5$]]

    Async instance built for cats.data.IorT values initialized with any F data type that also implements Async.

  9. implicit def catsKleisliAsync[F[_], R](implicit arg0: Async[F]): Async[[γ$4$]Kleisli[F, R, γ$4$]]

    Async instance built for cats.data.Kleisli values initialized with any F data type that also implements Async.

  10. implicit def catsOptionTAsync[F[_]](implicit arg0: Async[F]): Async[[β$1$]OptionT[F, β$1$]]

    Async instance built for cats.data.OptionT values initialized with any F data type that also implements Async.

  11. implicit def catsStateTAsync[F[_], S](implicit arg0: Async[F]): Async[[γ$2$]IndexedStateT[F, S, S, γ$2$]]

    Async instance built for cats.data.StateT values initialized with any F data type that also implements Async.

  12. implicit def catsWriterTAsync[F[_], L](implicit arg0: Async[F], arg1: Monoid[L]): Async[[γ$3$]WriterT[F, L, γ$3$]]

    Async instance built for cats.data.WriterT values initialized with any F data type that also implements Async.

  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. def fromFuture[F[_], A](fa: F[Future[A]])(implicit F: Async[F], cs: ContextShift[F]): F[A]
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def liftIO[F[_], A](io: IO[A])(implicit F: Async[F]): F[A]

    Lifts any IO value into any data type implementing Async.

    Lifts any IO value into any data type implementing Async.

    This is the default Async.liftIO implementation.

  21. def memoize[F[_], A](f: F[A])(implicit F: Async[F]): F[F[A]]

    Lazily memoizes f.

    Lazily memoizes f. For every time the returned F[F[A]] is bound, the effect f will be performed at most once (when the inner F[A] is bound the first time).

    Note: This version of memoize does not support interruption. Use Concurrent.memoize if you need that.

  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. val ops: ops$
  26. def parReplicateAN[M[_], A](n: Long)(replicas: Int, ma: M[A])(implicit M: Async[M], P: Parallel[M]): M[List[A]]

    Like Parallel.parReplicateA, but limits the degree of parallelism.

  27. def parSequenceN[T[_], M[_], A](n: Long)(tma: T[M[A]])(implicit arg0: Traverse[T], M: Async[M], P: Parallel[M]): M[T[A]]

    Like Parallel.parSequence, but limits the degree of parallelism.

  28. def parTraverseN[T[_], M[_], A, B](n: Long)(ta: T[A])(f: (A) => M[B])(implicit arg0: Traverse[T], M: Async[M], P: Parallel[M]): M[T[B]]

    Like Parallel.parTraverse, but limits the degree of parallelism.

  29. def shift[F[_]](ec: ExecutionContext)(implicit F: Async[F]): F[Unit]

    Generic shift operation, defined for any Async data type.

    Generic shift operation, defined for any Async data type.

    Shifts the bind continuation onto the specified thread pool. Analogous with IO.shift.

  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. object nonInheritedOps extends ToAsyncOps

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def never[F[_], A](implicit F: Async[F]): F[A]

    Returns an non-terminating F[_], that never completes with a result, being equivalent with async(_ => ()).

    Returns an non-terminating F[_], that never completes with a result, being equivalent with async(_ => ()).

    Annotations
    @deprecated
    Deprecated

    (Since version 0.10) Moved to Async[F]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped