/**
 * Job callback function, send schedule time as parameter
 */ export type ISchedulerJobCallback = ( time : Date ) => void ; /**
 * Job handler to munipulate a job
 */ export interface ISchedulerJobHandler { /**
     * cancel current scheduler
     */ cancel ( ) : void ; /**
     * reschedule the scheduler
     */ reschedule ( time ) : void ; /**
     * get next schedule time
     */ nextScheduleTime ( ) : Date ; }