persist method

  1. @override
Future<void> persist(
  1. List<Document> docs
)
override

Implementation

@override
Future<void> persist(List<Document> docs) async {
  // Marshall file persist documents to be sent to and persisted by the worker isolate.
  final data = docs.map((doc) => doc.toPersistenceDoc()).toList();
  await _sendMessage(PersistMessageRequest(data: data));
}