HiveStorageBackendPreference class abstract
declares the preferred JS StorageBackend to be used
- HiveStorageBackendPreference.native causes almost no startup delay while being slow with huge DB transactions
- HiveStorageBackendPreference.webWorker has got a small startup delay but is much quicker with huge DB transactions
- Implementers
Constructors
- HiveStorageBackendPreference.webWorker(String path, {WebWorkerStackTraceCallback onStackTrace = HiveStorageBackendPreferenceWebWorker.defaultStackTraceHandler})
-
uses a web worker for DB transactions
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- memory → const HiveStorageBackendPreference
- runs the DB in RAM
- native → const HiveStorageBackendPreference
- runs the DB transaction the the main thread