AsyncBuilder

Companion:
class
class Object
trait Matchable
class Any

Value members

Concrete methods

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

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

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

Implicits

Implicits

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.

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

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

implicit val forIO: AsyncBuilder[IO[Unit]]

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

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

implicit val forTask: AsyncBuilder[Task[Unit]]

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

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

implicit val forUnit: AsyncBuilder[Unit]

Implicit AsyncBuilder for non-cancelable tasks.

Implicit AsyncBuilder for non-cancelable tasks.

Inherited implicits

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.

Inherited from:
AsyncBuilder0