CancelableF

trait CancelableF[F[_]]

Represents a pure data structure that describes an effectful, idempotent action that can be used to cancel async computations, or to release resources.

Represents a pure data structure that describes an effectful, idempotent action that can be used to cancel async computations, or to release resources.

This is the pure, higher-kinded equivalent of monix.execution.Cancelable and can be used in combination with data types meant for managing effects, like Task, Coeval or cats.effect.IO.

Note: the F suffix comes from this data type being abstracted over F[_].

Companion
object
class Object
trait Matchable
class Any
trait Empty[F]
trait Bool[F]
trait Multi[F]

Value members

Abstract methods

def cancel: CancelToken[F]