MutexImpl class
Methods
-
close()
→ Future<void>
-
Release resources used by the Mutex.
override
-
lock<T>(Future<T> callback(), {Duration? timeout})
→ Future<T>
-
timeout is a timeout for acquiring the lock, not for the callback
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
open()
→ Mutex
-
Use open to get a
AbstractMutex
instance.
This is mainly used for shared mutexes
override
-
toString()
→ String
-
A string representation of this object.
inherited