VfsWorker class
Contains code used to implement web workers that are prodiving synchronous access to asynchronous web APIs (like OPFS).
Users of this library are supposed to construct WorkerOptions in their database worker and send them to another worker responsible for hosting the file system. That worker uses VfsWorker.create to make the file system accessible. For more details and an overview of this implementation, see WasmVfs.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- messages → MessageSerializer
-
final
- root → FileSystemDirectoryHandle
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- synchronizer → RequestResponseSynchronizer
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
create(
WorkerOptions options) → Future< VfsWorker>