Interface IDelayRunner

All Known Implementing Classes:
TimerDelayRunner

public interface IDelayRunner
Interface for scheduling a command.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Cancel the timer.
    waitForDelay(long delay, Runnable step)
    Wait for a delay.
  • Method Details

    • waitForDelay

      Runnable waitForDelay(long delay, Runnable step)
      Wait for a delay.
      Parameters:
      delay - The delay.
      step - The step.
    • cancel

      void cancel()
      Cancel the timer.