Interface RunOnce.RunOnceCallback

Enclosing class:
RunOnce

public static interface RunOnce.RunOnceCallback
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    run()
    Called from RunOnce when run.
  • Method Details

    • run

      boolean run()
      Called from RunOnce when run. Returns true if the callback was successful and should never be called again. Returns false if the callback wasn't successful and should be called again. This allows conditional logic to be placed in the callback to determine if the correct states exists to complete the desired operation.

      This will never be called concurrently.