| 101 | class TokenData { |
| 102 | public: |
| 103 | static uv_async_t* NewAsyncToken() { |
| 104 | uv_async_t* asyncHandle = new uv_async_t; |
| 105 | uv_async_init(uv_default_loop(), asyncHandle, AsyncCb); |
| 106 | SetHandleData(asyncHandle->data); |
| 107 | |
| 108 | return asyncHandle; |
| 109 | } |
| 110 | |
| 111 | static uv_async_t* NewAsyncToken(Handle<Function> callback, |
| 112 | Handle<Value> receiver) { |
nothing calls this directly
no outgoing calls
no test coverage detected