AsyncSqliteDatabase class

Worker database which handles custom requests. These requests are used for handling exclusive locks for shared web workers and custom SQL execution scripts.

Inheritance

Constructors

AsyncSqliteDatabase({required CommonDatabase database})

Properties

database CommonDatabase
The database made available to the worker.
final
hashCode int
The hash code for this object.
no setterinherited
mutex → ReadWriteMutex
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

handleCustomRequest(ClientConnection connection, JSAny? request) Future<JSAny?>
Handles a custom request (encoded as any JS value) from the connection.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resultSetToMap(ResultSet resultSet) Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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