is-weakref
Is this value a JS WeakRef? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Found 8 results for finalization
Is this value a JS WeakRef? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Is this value a JS FinalizationRegistry? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Execute a function on exit without leaking memory, allowing all objects to be garbage collected
A generalized multi-key memoization solution that does not leak memory.
Hierarchical resource management for JavaScript. Clean up subscriptions, event listeners, and disposables with nested scopes that match your component lifecycle.
Is this value a JS WeakRef? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
A native-like object, but with a weak reference to all values, automatically deleting the corresponding property when the value is recycled
Execute a function on exit without leaking memory, allowing all objects to be garbage collected