We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c7faec commit 7efa47fCopy full SHA for 7efa47f
1 file changed
pkgs/async/lib/src/async_cache.dart
@@ -64,7 +64,9 @@ class AsyncCache<T> {
64
/// An ephemeral cache guarantees that a callback function will only be
65
/// executed at most once concurrently. This is useful for requests for which
66
/// data is updated frequently but stale data is acceptable.
67
- AsyncCache.ephemeral(): _duration = null, _cacheErrors = true;
+ AsyncCache.ephemeral()
68
+ : _duration = null,
69
+ _cacheErrors = true;
70
71
/// Returns a cached value from a previous call to [fetch], or runs [callback]
72
/// to compute a new one.
0 commit comments