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