Unverified Commit 5a839679 authored by Anna Henningsen's avatar Anna Henningsen Committed by Michaël Zasso
Browse files

src: use JS inheritance for `AsyncWrap`

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.

Backport-PR-URL: https://github.com/nodejs/node/pull/23247
PR-URL: https://github.com/nodejs/node/pull/23094


Reviewed-By: default avatarJoyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: default avatarDaniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent 11c67454
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment