mutate<R> method
Call<R, T>
mutate<R>(
- MutationToken<
R> token, - Future<
R> body(- Ref<
T> ref
- Ref<
- Concurrency concurrency = Concurrency.concurrent,
Runs body as a tracked mutation with the given token.
Implementation
Call<R, T> mutate<R>(
MutationToken<R> token,
Future<R> Function(Ref<T> ref) body, {
Concurrency concurrency = Concurrency.concurrent,
}) => _MutateCall<R, T>(
this,
token,
body,
concurrency: concurrency,
ensureOwner: (container) => container.read<T>(this),
);