IsolateCancellationTokenAllocator class final
Host-side counter that hands out unique IsolateCancellationTokens.
One allocator per isolate host. Not thread-safe in the cross-isolate sense (the allocator lives on the host side; each allocation is on the host's isolate which is single-threaded by definition).
Constructors
Properties
Methods
-
next(
) → IsolateCancellationToken - Returns a fresh IsolateCancellationToken and advances the counter.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited