CrossTabLock class abstract interface

A mutual-exclusion lock shared across cooperating execution contexts that hold the same credentials, such as browser tabs of one origin.

Used to serialize operations that must not run concurrently across tabs, like rotating a shared refresh credential.

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
synchronize<T>(Future<T> action()) → Future<T>
Runs action while holding the lock, waiting for current holders in other contexts to finish first.
toString() → String
A string representation of this object.
inherited

Operators

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