readAsync<T> method
Create an asynchronous read transaction.
The code inside the callback will be executed in a separate isolate.
Check out the read method for more information.
Implementation
Future<T> readAsync<T>(T Function(Isar isar) callback, {String? debugName}) =>
readAsyncWith(null, (isar, _) => callback(isar), debugName: debugName);