Cancels the unit of work represented by this reference.
Cancels the unit of work represented by this reference.
Guaranteed idempotence - calling it multiple times should have the same effect as calling it only a single time.
Implementations of this method should also be thread-safe.
Represents an asynchronous computation whose execution can be canceled. Used by monifu.concurrent.Scheduler giving you the ability to cancel scheduled units of work.
It is equivalent to
java.io.Closeable
, but without the I/O focus, or toIDisposable
in Microsoft .NET, or toakka.actor.Cancellable
.