Packages

trait Cancellable extends AnyRef

Signifies something that can be cancelled There is no strict guarantee that the implementation is thread-safe, but it should be good practice to make it so.

Source
Scheduler.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Cancellable
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def cancel(): Boolean

    Cancels this Cancellable and returns true if that was successful.

    Cancels this Cancellable and returns true if that was successful. If this cancellable was (concurrently) cancelled already, then this method will return false although isCancelled will return true.

    Java & Scala API

  2. abstract def isCancelled: Boolean

    Returns true if and only if this Cancellable has been successfully cancelled

    Returns true if and only if this Cancellable has been successfully cancelled

    Java & Scala API