code: function(clock, deadline, func) {
    this.clock = clock
    this.func = func
    this._cleared = false // Flag used to clear an event inside callback
  
    this.toleranceLate = clock.toleranceLate
    this.toleranceEarly = clock.toleranceEarly
    this._latestTime = null
    this._earliestTime = null
    this.deadline = null
    this.repeatTime = null
  
    this.schedule(deadline)
  }
docs: ==================== Event ==================== //