AccessMode enum
In addition to the StorageMode describing which browser API is used to store content, this enum describes how databases are accessed.
Values
-
Access databases by spawning a shared worker shared across tabs.
This is more efficient as it avoids synchronization conflicts between tabs which may slow things down.
- throughDedicatedWorker → const AccessMode
-
Access databases by spawning a dedicated worker for this tab.
- inCurrentContext → const AccessMode
-
Access databases without any shared or dedicated worker.
Properties
Methods
-
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
Constants
-
values
→ const List<
AccessMode> - A constant List of the values in this enum, in order of their declaration.