is-weakref
Is this value a JS WeakRef? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
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 native-like object, but with a weak reference to all values, automatically deleting the corresponding property when the value is recycled
Is this value a JS WeakRef? 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.