File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ class TimerWrap : public HandleWrap {
4343
4444 env->SetProtoMethod (constructor, " start" , Start);
4545 env->SetProtoMethod (constructor, " stop" , Stop);
46- env->SetProtoMethod (constructor, " again" , Again);
4746
4847 target->Set (FIXED_ONE_BYTE_STRING (env->isolate (), " Timer" ),
4948 constructor->GetFunction ());
@@ -90,15 +89,6 @@ class TimerWrap : public HandleWrap {
9089 args.GetReturnValue ().Set (err);
9190 }
9291
93- static void Again (const FunctionCallbackInfo<Value>& args) {
94- TimerWrap* wrap = Unwrap<TimerWrap>(args.Holder ());
95-
96- CHECK (HandleWrap::IsAlive (wrap));
97-
98- int err = uv_timer_again (&wrap->handle_ );
99- args.GetReturnValue ().Set (err);
100- }
101-
10292 static void OnTimeout (uv_timer_t * handle) {
10393 TimerWrap* wrap = static_cast <TimerWrap*>(handle->data );
10494 Environment* env = wrap->env ();
You can’t perform that action at this time.
0 commit comments