An interface abstracting over Worker and SharedWorker constructors,
allowing clients of sqlite3_web to customize if and how workers are used.
Constructors
- WorkerConnector.defaultWorkers(String uri)
-
The default implementation, spawning workers with the
WorkerandSharedWorkerconstructors.factory - WorkerConnector.unsupported()
-
A WorkerConnector implementation that doesn't allow the use of workers.
constfactory
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
-
spawnDedicatedWorker(
) → WorkerHandle? -
Spawn a new shared database worker, or returns
nullif dedicated workers aren't supported. -
Spawn a new shared database worker, or returns
nullif shared workers aren't supported. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited