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. .gitignore
  2. .test_config
  3. .travis.yml
  4. AUTHORS
  5. CHANGELOG.md
  6. CONTRIBUTING.md
  7. LICENSE
  8. README.md
  9. analysis_options.yaml
  10. lib/
  11. pubspec.yaml
  12. test/
README.md

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