LinkedNCancellationTokenSource class

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
isCancellationRequested bool
Gets whether cancellation has been requested for this CancellationTokenSource.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token CancellationToken
Gets the CancellationToken associated with this CancellationTokenSource.
no setterinherited

Methods

cancel([bool throwOnFirstException = false]) → void
Communicates a request for cancellation.
inherited
cancelAfter(Duration delay) → void
Schedules a Cancel operation on this CancellationTokenSource.
inherited
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
register(CancellationCallback callback, [Object? state]) CancellationTokenRegistration
Registers a callback object. If cancellation has already occurred, the callback will have been run by the time this method returns.
inherited
toString() String
A string representation of this object.
inherited

Operators

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