Files
node/doc/api
Anna Henningsen 5c6cf30143 src: add environment cleanup hooks
This adds pairs of methods to the `Environment` class and to public APIs
which can add and remove cleanup handlers.

Unlike `AtExit`, this API targets addon developers rather than
embedders, giving them (and Node’s internals) the ability to register
per-`Environment` cleanup work.

We may want to replace `AtExit` with this API at some point.

Many thanks for Stephen Belanger for reviewing the original version of
this commit in the Ayo.js project.

Refs: https://github.com/ayojs/ayo/pull/82
PR-URL: https://github.com/nodejs/node/pull/19377
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
2018-05-10 14:15:16 +02:00
..
2018-05-03 02:12:07 +03:00
2018-05-10 13:39:17 +02:00
2018-05-03 02:12:07 +03:00
2018-05-03 02:12:07 +03:00
2018-05-03 02:12:07 +03:00
2018-05-03 02:12:07 +03:00
2018-05-03 02:12:07 +03:00
2018-05-03 02:12:07 +03:00
2018-05-03 02:12:07 +03:00
2018-05-03 02:12:07 +03:00
2018-05-03 02:12:07 +03:00
2018-05-08 13:28:38 +03:00
2018-05-08 19:42:16 -07:00
2016-04-20 16:34:27 -07:00
2018-04-29 17:48:43 +03:00
2018-05-03 02:12:07 +03:00
2018-05-03 02:12:07 +03:00
2018-05-10 14:15:16 +02:00
2018-05-03 02:12:07 +03:00
2018-05-03 02:12:07 +03:00
2018-04-04 13:45:39 +03:00
2018-05-03 02:12:07 +03:00
2018-05-03 02:12:07 +03:00
2018-05-04 23:05:56 +03:00
2018-05-03 02:12:07 +03:00
2018-05-02 06:17:08 +03:00
2018-04-29 17:48:43 +03:00
2018-05-03 02:12:07 +03:00
2018-05-03 02:12:07 +03:00
2018-05-03 02:12:07 +03:00
2018-05-09 10:23:21 +02:00
2018-05-03 02:12:07 +03:00