AsyncBuilder

object AsyncBuilder extends AsyncBuilder0
Companion
class
class AsyncBuilder0
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[CancelationToken](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 forBIO[E]: AsyncBuilder[IO[E, Unit]]

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

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

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