Invalidate async cache on exception (#132)

* Invalidate async cache on exception

When the callback throws an exception, the startStaleTime was not called, so the cache was not refreshed. Because of this, future calls to this cache returned with the exception.
2 files changed
tree: ead2a2495710fa40efba285a246f21c32054958a
  1. lib/
  2. test/
  3. .gitignore
  4. .test_config
  5. .travis.yml
  6. analysis_options.yaml
  7. AUTHORS
  8. CHANGELOG.md
  9. CONTRIBUTING.md
  10. LICENSE
  11. pubspec.yaml
  12. README.md
README.md

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