Unverified Commit 8cee5d66 authored by James M Snell's avatar James M Snell Committed by Myles Borins
Browse files

src: reduce code duplication

Adds `AsyncWrap::AddWrapMethods()` to add common methods
to a `Local<FunctionTemplate>`. Follows same pattern as
stream base.

PR-URL: https://github.com/nodejs/node/pull/14937


Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
parent 5a05dfe0
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