Package 

Class CancellationTokenSource

  • All Implemented Interfaces:
    java.io.Closeable , java.lang.AutoCloseable

    
    public final class CancellationTokenSource
     implements Closeable
                        

    Signals to a CancellationToken that it should be canceled. To create a CancellationToken first create a CancellationTokenSource then use token to retrieve the token for the source.