Skip to content

AsyncWrap external API improvements

Few improvements to make the AsyncWrap external API more usable. These include:

  1. Hooks are optional (except the init hook).
  2. All AsyncWrap instances receive a unique id.
  3. Call callback from the AsyncWrap destructor.

R=@bnoordhuis

CI: https://ci.nodejs.org/job/node-test-pull-request/548/

Merge request reports

Loading