execute method

Future<S> execute(
  1. S state
)

Execute run and extract the state S.

To extract both the value and the state use run.

To extract only the value A use evaluate.

Implementation

Future<S> execute(S state) async => (await run(state)).$2;