Skip to content

Commit

Permalink
async_hooks: introduce async_hooks.js
Browse files Browse the repository at this point in the history
Getting mechanics flushed out for both the necessary JS and C++ APIs.

Currenty builds and runs, but complete implementation is coming.
  • Loading branch information
trevnorris committed Mar 15, 2017
1 parent 7d42f1f commit 4b16a58
Show file tree
Hide file tree
Showing 33 changed files with 907 additions and 282 deletions.
2 changes: 2 additions & 0 deletions lib/_stream_wrap.js
Expand Up @@ -9,6 +9,8 @@ const uv = process.binding('uv');
const debug = util.debuglog('stream_wrap');

function StreamWrap(stream) {
// TODO(trevnorris): Track down everything that calls StreamWrap and make
// sure the trigger id is correctly set.
const handle = new JSStream();

this.stream = stream;
Expand Down

0 comments on commit 4b16a58

Please sign in to comment.