-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
@mcollina What do you think? That module sounds very useful to have on core, the simplicity makes me want to copy the code but I think we could just expose that as a wrapper for FinalizationRegistry.
We have some issues with the registry but it was solved, the crashes were also fixed by legendas, so maybe we can rely again on this feature.
We probably could expose those functions inside process, maybe something like:
process.registerOnExit(obj, fn);
process.registerBeforeOnExit(obj, fn)Metadata
Metadata
Assignees
Labels
No labels