Anna Henningsen 62436c2fb3
doc: avoid using v8::Persistent in addon docs
Use `v8::Global` where possible. For examples where it applies,
also clean up the code and make the code multi-threading-ready,
for those where that isn’t easily possible, add a warning about that.

PR-URL: https://github.com/nodejs/node/pull/31018
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
2019-12-24 14:31:29 +01:00
..
2019-12-12 12:11:12 -05:00
2019-12-12 10:03:40 -05:00
2019-11-05 19:39:20 +01:00
2019-12-03 22:57:31 +01:00
2019-12-18 07:03:37 -08:00
2019-12-17 17:29:02 -05:00
2019-11-30 18:06:39 +01:00
2019-10-03 15:21:26 -07:00
2019-12-16 11:18:23 +01:00
2019-12-01 20:51:31 -08:00
2019-10-26 16:10:12 -07:00
2019-12-02 08:28:19 -08:00
2019-10-26 08:39:41 -07:00
2019-12-17 17:29:02 -05:00
2019-10-26 08:39:41 -07:00
2019-12-17 17:29:02 -05:00
2019-10-26 08:39:41 -07:00
2019-10-26 08:39:41 -07:00
2019-12-18 13:51:03 -05:00
2019-11-12 14:04:55 -08:00
2019-12-17 17:35:12 -08:00