public class CancellationTokenRegistration
extends java.lang.Object
implements java.io.Closeable
CancellationToken
.CancellationToken.register(Runnable)
Modifier and Type | Method and Description |
---|---|
void |
close()
Unregisters the callback runnable from the cancellation token.
|