Skip to content

src: use JS inheritance for `AsyncWrap`

Rodrigo Muino Tomonari requested to merge github/fork/addaleax/__proto__ into master

For all classes descending from AsyncWrap, use JS inheritance instead of manually adding methods to the individual classes.

This allows cleanup of some code around transferring handles over IPC.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading