diff options
author | Trevor Norris <trev.norris@gmail.com> | 2014-01-21 01:33:16 +0400 |
---|---|---|
committer | Trevor Norris <trev.norris@gmail.com> | 2014-02-06 01:30:56 +0400 |
commit | 4a9af3fecb4baf677f265e2e6e34a674a53810a6 (patch) | |
tree | 3e96cf57bc7f9d47ebe7a177acc7a2d18dc13bdd /src/handle_wrap.cc | |
parent | c9abb59638bc4bc64176ded80ebdc05d066ad0db (diff) |
async_wrap: add provider types/pass to constructor
These will be used to allow users to filter for which types of calls
they wish their callbacks to run.
Signed-off-by: Timothy J Fontaine <tjfontaine@gmail.com>
Diffstat (limited to 'src/handle_wrap.cc')
-rw-r--r-- | src/handle_wrap.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/handle_wrap.cc b/src/handle_wrap.cc index 0a7f7d27a7b..b7ee48da182 100644 --- a/src/handle_wrap.cc +++ b/src/handle_wrap.cc @@ -90,8 +90,9 @@ void HandleWrap::Close(const FunctionCallbackInfo<Value>& args) { HandleWrap::HandleWrap(Environment* env, Handle<Object> object, - uv_handle_t* handle) - : AsyncWrap(env, object), + uv_handle_t* handle, + AsyncWrap::ProviderType provider) + : AsyncWrap(env, object, provider), flags_(0), handle__(handle) { handle__->data = this; |