Packages

object AsyncBuilder extends AsyncBuilder0

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

Value Members

  1. def apply[CancelationToken](implicit ref: AsyncBuilder[CancelationToken]): AsyncBuilder[CancelationToken]

    Returns the implicit AsyncBuilder available in scope for the given CancelToken type.

  2. implicit def forCancelable[T <: Cancelable]: AsyncBuilder[T]

    Implicit AsyncBuilder for cancelable tasks, using Cancelable values for specifying cancelation actions.

    Implicit AsyncBuilder for cancelable tasks, using Cancelable values for specifying cancelation actions.

    Definition Classes
    AsyncBuilder0
  3. implicit def forCancelableDummy[T <: Empty]: AsyncBuilder[T]

    Implicit AsyncBuilder for non-cancelable tasks built by a function returning a Cancelable.Empty.

    Implicit AsyncBuilder for non-cancelable tasks built by a function returning a Cancelable.Empty.

    This is a case of applying a compile-time optimization trick, completely ignoring the provided cancelable value, since we've got a guarantee that it doesn't do anything.

  4. implicit val forCoeval: AsyncBuilder[Coeval[Unit]]

    Implicit AsyncBuilder for cancelable tasks, using Coeval values for specifying cancelation actions.

  5. implicit val forIO: AsyncBuilder[IO[Unit]]

    Implicit AsyncBuilder for cancelable tasks, using cats.effect.IO values for specifying cancelation actions, see Cats Effect.

  6. implicit val forTask: AsyncBuilder[Task[Unit]]

    Implicit AsyncBuilder for cancelable tasks, using Task values for specifying cancelation actions.

  7. implicit val forUnit: AsyncBuilder[Unit]

    Implicit AsyncBuilder for non-cancelable tasks.