weak_cache 2.0.0 copy "weak_cache: ^2.0.0" to clipboard
weak_cache: ^2.0.0 copied to clipboard

outdated

Weak cache that uses weak references for holding values. Implements full Map interface including keys and values iteration.

2.0.0 #

  • Requires Dart 3.0.0
  • BREAKING: remove WeakCache.cacheFinalizer.
  • Fix memory leak caused by instance member finalizer.
  • Optimize containsValue.
  • Fix concurrent modification error, now using keys/values/entries will temporarily prevent them from being garbage collected.

1.0.0 #

  • Initial version.
3
likes
0
points
115
downloads

Publisher

verified publishernull.moe

Weekly Downloads

Weak cache that uses weak references for holding values. Implements full Map interface including keys and values iteration.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

disposed, meta

More

Packages that depend on weak_cache