is-finalizationregistry
Is this value a JS FinalizationRegistry? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
- 2
- JavaScript
- MIT
- 24 mo ago
Is this value a JS FinalizationRegistry? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Catch fs.promises FileHandles that are never closed, with the stack that opened them, before GC turns them into a thrown ERR_INVALID_STATE.