UNPKG

@xmobitea/gn-server

Version:

GearN Server by XmobiTea (Pro)

22 lines (21 loc) 828 B
import { ITimerService } from "./ITimerService"; export declare class TimerService implements ITimerService { private everySecondRunnableLst; private everyMinuteRunnableLst; private everyHourRunnableLst; private everyDayRunnableLst; run(): void; private onEverySecond; private onEveryMinute; private onEveryHour; private onEveryDay; constructor(); subscriberEverySecond(runnable: () => void): void; unSubscriberEverySecond(runnable: () => void): void; subscriberEveryMinute(runnable: () => void): void; unSubscriberEveryMinute(runnable: () => void): void; subscriberEveryHour(runnable: () => void): void; unSubscriberEveryHour(runnable: () => void): void; subscriberEveryDay(runnable: () => void): void; unSubscriberEveryDay(runnable: () => void): void; }