CancellationTokenRegistration class

Inheritance

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token CancellationToken
Gets the CancellationToken with which this registration is associated.
no setter

Methods

dispose() → void
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
unregister() bool
Disposes of the registration and unregisters the target callback from the associated CancellationToken.

Operators

operator ==(Object other) bool
The equality operator.
override