Packages

object Async extends Serializable

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

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

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. def apply[F[_]](implicit instance: Async[F]): Async[F]
    Annotations
    @inline()
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. 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.

  7. 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.

  8. 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.

  9. 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.

  10. 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.

  11. 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.

  12. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. 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.

  20. 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.

  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. 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.

  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  30. object nonInheritedOps extends ToAsyncOps
  31. object ops

Deprecated Value Members

  1. 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 Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped