readAsyncWith<T, P> abstract method
Future<T>
readAsyncWith<T, P>(
- P param,
- T callback(
- DatabaseUniverse databaseUniverse,
- P param
- String? debugName,
Create an asynchronous read transaction and pass a parameter to the callback.
The code inside the callback will be executed in a separate isolate.
Check out the read method for more information.
Implementation
Future<T> readAsyncWith<T, P>(
P param,
T Function(DatabaseUniverse databaseUniverse, P param) callback, {
String? debugName,
});