Packages

trait CancelableF[F[_]] extends AnyRef

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[_].

Source
CancelableF.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CancelableF
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def cancel: CancelToken[F]