Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在node.9.5.0中已经不叫next了 #7

Open
youth7 opened this issue Mar 15, 2018 · 0 comments
Open

在node.9.5.0中已经不叫next了 #7

youth7 opened this issue Mar 15, 2018 · 0 comments

Comments

@youth7
Copy link

youth7 commented Mar 15, 2018

在node.9.5.0的中doWrite()的部分源码如下

  if (writev)//_writev是批量写入数据,如果有就优先调用之
    stream._writev(chunk, state.onwrite);
  else//否则调用默认的版本
    stream._write(chunk, encoding, state.onwrite);
  state.sync = false;

_write_writev的回调已经不叫next了,建议文章也同步修改一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant