public interface IInterruptionToken
This class represents the token to use for signaling long running tasks whether the interruption was requested.
|isInterruptionRequested()||Returns true if interruption was requested.|
|throwIfInterruptionRequested()||Throws an if interruption was requested.|
public abstract boolean isInterruptionRequested()
Returns true if interruption was requested.
public abstract void throwIfInterruptionRequested()
Throws an if interruption was requested.