body property

Stream<Mutation> Function() body
final

You perform any async actions that are required for a mutation and yield the mutation

Since it's a stream multiple mutations can be emitted from a single action

You can also call another action here by using yield* to emit all the events from the action

Any unhandled exceptions will execute onError() if passed

Implementation

final Stream<Mutation> Function() body;