Interface Schedule

    • Method Detail

      • timer

        TimerRef timer​(TimerFunction timer)
        Returns an unscheduled TimerRef bound to timer, which can later be used to schedule timer.
      • setTimer

        TimerRef setTimer​(long millis,
                          TimerFunction timer)
        Schedules timer to execute after millis milliseconds have elapsed. Returns a TimerRef that can be used to check the status of, reschedule, and cancel timer.