Optionaloption: { timeOut_ms?: number }Optionalcontext: anyReturn an array listing the events for which the emitter has registered listeners.
Return the number of listeners listening to a given event.
Return the listeners registered for a given event.
Optionalfn: (...args: ArgumentMap<SleepEventMap>[Extract<T, keyof SleepEventMap>]) => voidOptionalcontext: anyOptionalonce: booleanAdd a listener for a given event.
Optionalcontext: anyAdd a one-time listener for a given event.
Optionalcontext: anyRemove all listeners, or those of the specified event.
Optionalevent: keyof SleepEventMapRemove the listeners of a given event.
Optionalfn: (...args: ArgumentMap<SleepEventMap>[Extract<T, keyof SleepEventMap>]) => voidOptionalcontext: anyOptionalonce: boolean無操作タイマーをリセットし、再度カウントを開始する。
マウス監視を開始する
Protectedstartマウスの監視を停止する
Protectedstop
Calls each of the listeners registered for a given event.