Mutex class

Simple Mutex

Constructors

Mutex()

Properties

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

Methods

acquire() Future<void>
Lock the mutex
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
release() → void
Release the mutex
toString() String
A string representation of this object.
inherited
wait() Future<void>
Wait for the mutex to be available

Operators

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