updateWith method

Future<ActionResult> updateWith(
  1. Future<ActionResult> future
)

Update self with future ActionResult

Implementation

Future<ActionResult> updateWith(Future<ActionResult> future) async {
  await this.state.updateWith(future).forEach(emit);

  return ActionResult.from(this.state);
}