GlobalLockHandle class abstract

A held GlobalLock, see GlobalLock.acquire.

Call release (in a finally) when done: until then the other users of the lock wait. A handle never released holds the lock until the holder isolate exits (io) or the tab closes (web).

Constructors

GlobalLockHandle()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
release() → Future<void>
Releases the lock (once, later calls do nothing).
toString() → String
A string representation of this object.
inherited

Operators

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