| 35 | } |
| 36 | |
| 37 | NAN_METHOD(Hustle) { |
| 38 | async_resource = new AsyncResource("nan:test:weak"); |
| 39 | cb.Reset(To<v8::Function>(info[1]).ToLocalChecked()); |
| 40 | info.GetReturnValue().Set(wrap(To<v8::Function>(info[0]).ToLocalChecked())); |
| 41 | } |
| 42 | |
| 43 | inline void WeakExternalCallback(const WeakCallbackInfo<void>&) {} |
| 44 |
nothing calls this directly
no test coverage detected