connect method
Connects to this DriftIsolate from another isolate.
All operations on the returned DatabaseConnection will be executed on a
background isolate. Setting the isolateDebugLog
is only helpful when
debugging drift itself.
Implementation
// todo: breaking: Make synchronous in drift 2
Future<DatabaseConnection> connect({bool isolateDebugLog = false}) async {
return remote(_open(), debugLog: isolateDebugLog, serialize: serialize);
}