SharedMutex class
Mutex instantiated from a source mutex, potentially in a different isolate.
Uses a SendPort to communicate with the source mutex.
- Implemented types
Properties
Methods
-
close(
) → Future< void> -
Wait for existing locks to be released, then close this SharedMutex
and prevent further locks from being taken out.
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited