diff options
author | Trevor Norris <trev.norris@gmail.com> | 2013-09-24 14:12:11 -0700 |
---|---|---|
committer | Trevor Norris <trev.norris@gmail.com> | 2013-10-31 14:17:51 -0700 |
commit | efa62fd9cc817434206d9fd8592b7bbeaa240e9c (patch) | |
tree | d3385ab0c74b20fab8d4e53cfa8408dafec69492 /src/node_internals.h | |
parent | 21fbbd579080bab569c66100471a4c7b462bb0d6 (diff) | |
download | node-new-efa62fd9cc817434206d9fd8592b7bbeaa240e9c.tar.gz |
node: add AsyncListener support
AsyncListener is a JS API that works in tandem with the AsyncWrap class
to allow the user to be alerted to key events in the life cycle of an
asynchronous event. The AsyncWrap class has its own MakeCallback
implementation that core will be migrated to use, and uses state sharing
techniques to allow quicker communication between JS and C++ whether the
async event callbacks need to be called.
Diffstat (limited to 'src/node_internals.h')
-rw-r--r-- | src/node_internals.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_internals.h b/src/node_internals.h index a484779243..84c523b295 100644 --- a/src/node_internals.h +++ b/src/node_internals.h @@ -49,7 +49,7 @@ inline v8::Local<TypeName> PersistentToLocal( // Call with valid HandleScope and while inside Context scope. v8::Handle<v8::Value> MakeCallback(Environment* env, - const v8::Handle<v8::Object> object, + v8::Handle<v8::Object> object, const char* method, int argc = 0, v8::Handle<v8::Value>* argv = NULL); |