当前位置: 首页 > 后端技术 > Node.js

Nodejs学习2

时间:2023-04-03 11:53:54 Node.js

1.使用Nodejs学习C++扩展。在3.6.3使用Persistent句柄时,按照书上的代码使用MarkIndependent函数会报错。Persistent类不再有此方法。搜索正在使用的node14版本的git源码,发现commitlog中有相关记录。查看对应的commit记录https://github.com/nodejs/node/commit/80c46c1576即可得出结论。