Files
node/lib/internal
Anna Henningsen 4875a511ea worker: add public method for marking objects as untransferable
We currently mark a number of `ArrayBuffer`s as not transferable,
including the `Buffer` pool and ones with finalizers provided
by C++ addons.

There is no good reason to assume that userland code might not
encounter similar problems, for example when doing `ArrayBuffer`
pooling similar to ours. Therefore, provide an API that lets
userland code also mark objects as not transferable.

PR-URL: https://github.com/nodejs/node/pull/33979
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
2020-06-30 09:34:31 -07:00
..
2020-06-30 09:34:24 -07:00
2020-01-22 15:33:03 +01:00
2020-06-30 09:34:24 -07:00
2020-01-22 15:33:03 +01:00
2020-06-30 09:34:07 -07:00
…
2019-11-30 13:58:25 +01:00
2020-06-30 09:34:24 -07:00
2019-12-17 08:11:13 -05:00

Internal Modules

The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules. These modules can be changed at any time. Reliance on these modules outside of core is not supported in any way.