Migrate to runZonedGuarded (#142)

The `onError` argument to `runZoned` is deprecated. Switch to the
supported `runZonedGuarded`.

Remove argument types on the function literal since thy can now be
inferred. `runZonedGuarded` has a specific function type argument,
whereas `onError` was typed as `Function` which did not allow inference
on argument types.
3 files changed
tree: f11a81d1d17a50ee1b2354933363a46f97b28e15
  1. lib/
  2. test/
  3. .gitignore
  4. .test_config
  5. .travis.yml
  6. AUTHORS
  7. CHANGELOG.md
  8. CONTRIBUTING.md
  9. LICENSE
  10. README.md
  11. analysis_options.yaml
  12. pubspec.yaml
README.md

Contains utility classes in the style of dart:async to work with asynchronous computations.