PersistorWorkerMessenger class

The main isolate messenger for communicating with the background worker.

Constructors

PersistorWorkerMessenger.new({required Logger logger, required void onSync()?})

Properties

hashCode int
The hash code for this object.
no setterinherited
index Map<String, Completer>
An index of request IDs to the request completer that is resolved when a response message is sent back from the worker.
final
logger Logger
final
onSync → void Function()?
final
receivePort ReceivePort
This main isolate receive port.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendPort SendPort
The worker isolate send port.
latefinal

Methods

clear(List<Collection> collections) Future<void>
clearAll() Future<void>
hydrate([List<StoreReference>? refs]) Future<Json>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
persist(List<Document> docs) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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