Packages

object Concurrent extends Serializable

Source
Concurrent.scala
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Concurrent
  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 Async.AllOps[F, A]
  2. trait Ops[F[_], A] extends AnyRef
  3. trait ToConcurrentOps 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: Concurrent[F]): Concurrent[F]
    Annotations
    @inline()
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. implicit def catsEitherTConcurrent[F[_], L](implicit arg0: Concurrent[F]): Concurrent[[γ$0$]EitherT[F, L, γ$0$]]

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

  7. implicit def catsKleisliConcurrent[F[_], R](implicit arg0: Concurrent[F]): Concurrent[[γ$2$]Kleisli[F, R, γ$2$]]

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

  8. implicit def catsOptionTConcurrent[F[_]](implicit arg0: Concurrent[F]): Concurrent[[β$1$]OptionT[F, β$1$]]

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

  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def liftIO[F[_], A](ioa: IO[A])(implicit F: Concurrent[F]): F[A]

    Lifts any IO value into any data type implementing Concurrent.

    Lifts any IO value into any data type implementing Concurrent.

    Compared with Async.liftIO, this version preserves the interruptibility of the given IO value.

    This is the default Concurrent.liftIO implementation.

  17. def memoize[F[_], A](f: F[A])(implicit F: Concurrent[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: start can be used for eager memoization.

  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def timeout[F[_], A](fa: F[A], duration: FiniteDuration)(implicit F: Concurrent[F], timer: Timer[F]): F[A]

    Returns an effect that either completes with the result of the source within the specified time duration or otherwise raises a TimeoutException.

    Returns an effect that either completes with the result of the source within the specified time duration or otherwise raises a TimeoutException.

    The source is cancelled in the event that it takes longer than the specified time duration to complete.

    duration

    is the time span for which we wait for the source to complete; in the event that the specified time has passed without the source completing, a TimeoutException is raised

  23. def timeoutTo[F[_], A](fa: F[A], duration: FiniteDuration, fallback: F[A])(implicit F: Concurrent[F], timer: Timer[F]): F[A]

    Returns an effect that either completes with the result of the source within the specified time duration or otherwise evaluates the fallback.

    Returns an effect that either completes with the result of the source within the specified time duration or otherwise evaluates the fallback.

    The source is cancelled in the event that it takes longer than the FiniteDuration to complete, the evaluation of the fallback happening immediately after that.

    duration

    is the time span for which we wait for the source to complete; in the event that the specified time has passed without the source completing, the fallback gets evaluated

    fallback

    is the task evaluated after the duration has passed and the source canceled

  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  28. object nonInheritedOps extends ToConcurrentOps
  29. object ops

Deprecated Value Members

  1. implicit def catsWriterTConcurrent[F[_], L](implicit arg0: Concurrent[F], arg1: Monoid[L]): Concurrent[[γ$3$]WriterT[F, L, γ$3$]]

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

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

    Annotations
    @deprecated
    Deprecated

    (Since version 1.1.0) WARNING: currently the Concurrent[WriterT[F, L, ?]] instance is broken!

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped