File tree 1 file changed +0
-10
lines changed
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 {
43
43
44
44
env->SetProtoMethod (constructor, " start" , Start);
45
45
env->SetProtoMethod (constructor, " stop" , Stop);
46
- env->SetProtoMethod (constructor, " again" , Again);
47
46
48
47
target->Set (FIXED_ONE_BYTE_STRING (env->isolate (), " Timer" ),
49
48
constructor->GetFunction ());
@@ -90,15 +89,6 @@ class TimerWrap : public HandleWrap {
90
89
args.GetReturnValue ().Set (err);
91
90
}
92
91
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
-
102
92
static void OnTimeout (uv_timer_t * handle) {
103
93
TimerWrap* wrap = static_cast <TimerWrap*>(handle->data );
104
94
Environment* env = wrap->env ();
You can’t perform that action at this time.
0 commit comments