IterableWeakSet, IterableWeakMap, and WeakValueMap provide iterable weak collections whose entries disappear automatically when their objects are garbage collected—perfect for caches and registries in any JavaScript runtime.
Is this value a JS WeakRef? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
WeakRef and FinalizationGroup for IE11+
Socket.dev optimized package override for is-weakref
FrailMap is an extension of WeakMap that supports primitive values using WeakRef.
Iterable WeakSet / WeakMap using ES2021 WeakRef
WeakRef sham that uses the global WeakRef if it exists.
weak decorator, wraps it with a WeakRef descriptor
WeakStorage and WeakRefMap are based on WeakRef objects allowing to store values as weak references.
Returns the same unique WeakRef instance per object.
A simple WeakRef implementation/polyfill based on N-API
A GC-aware cache using WeakRef and FinalizationRegistry
A simple cache using 'WeakRef' to store cached values.
A WeakRef-based cache that automatically evicts entries when values are garbage collected
A simple WeakRef implementation/polyfill based on N-API
Stop hunting memory leaks with heap snapshots. This babel plugin tags every React component and hook with a uniquely-named marker, then a runtime tracker uses WeakRef + FinalizationRegistry to warn you, live in the console, the moment something leaks.
No description provided.
Is this value a JS WeakRef? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
WeakRefMap using WeakRef
一个高性能、内存安全且类型友好的 TypeScript 领域模型管理库。专为复杂的前端应用设计,支持 **自动内存管理 (WeakRef)**、**响应式框架集成 (Vue/MobX)**、**关系自动 hydrate**、**模型家族多态分发** 以及 **精细化的数据合并策略**。
Execute a function on exit without leaking memory, allowing all objects to be garbage collected
A WeakRef-based cache that automatically evicts entries when values are garbage collected
A WeakRef-based cache that automatically evicts entries when values are garbage collected
Throttle promise-returning & async functions
Copy+static reference type which checks liveness at runtime.
A custom allocator that can be given ownership of data, returning a WeakRef
A procedural macro for generating dataclasses in Rust.
A memory-optimized wrapper for Python sets likely to be empty.
The spicy alternative to lifetime annotations.
Executor for asynchronous task based on wasm web workers
Tool for wrapping JavaScript modules as WebAssembly components using the QuickJS engine
Allows a referenced object to be garbage-collected.
Ruby standard library weakref.
A modified WeakRef impl for JRuby plus some weakref-related tools
weak_attr for WeakRefs in RubyMotion
Adds weak_attr_accessor that wraps objects with WeakRef, for RubyMotion
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.