@@ -3248,11 +3248,13 @@ console.log(`The parent process is pid ${ppid}`);
32483248added: v23.6.0
32493249-->
32503250
3251+ > Stability: 1 - Experimental
3252+
32513253* ` maybeRefable` {any} An object that may be "refable".
32523254
32533255An object is "refable" if it implements the Node.js "Refable protocol".
3254- Specifically, this means that the object implements the ` Symbol .for (' node: ref' )`
3255- and ` Symbol .for (' node: unref' )` methods. "Ref'd" objects will keep the Node.js
3256+ Specifically, this means that the object implements the ` Symbol .for (' nodejs. ref' )`
3257+ and ` Symbol .for (' nodejs. unref' )` methods. "Ref'd" objects will keep the Node.js
32563258event loop alive, while "unref'd" objects will not. Historically, this was
32573259implemented by using ` ref ()` and ` unref ()` methods directly on the objects.
32583260This pattern, however, is being deprecated in favor of the "Refable protocol"
@@ -4307,11 +4309,13 @@ In [`Worker`][] threads, `process.umask(mask)` will throw an exception.
43074309added: v23.6.0
43084310-->
43094311
4312+ > Stability: 1 - Experimental
4313+
43104314* ` maybeUnfefable` {any} An object that may be "unref'd".
43114315
43124316An object is "unrefable" if it implements the Node.js "Refable protocol".
4313- Specifically, this means that the object implements the ` Symbol .for (' node: ref' )`
4314- and ` Symbol .for (' node: unref' )` methods. "Ref'd" objects will keep the Node.js
4317+ Specifically, this means that the object implements the ` Symbol .for (' nodejs. ref' )`
4318+ and ` Symbol .for (' nodejs. unref' )` methods. "Ref'd" objects will keep the Node.js
43154319event loop alive, while "unref'd" objects will not. Historically, this was
43164320implemented by using ` ref ()` and ` unref ()` methods directly on the objects.
43174321This pattern, however, is being deprecated in favor of the "Refable protocol"
0 commit comments