Interface RunOnce.RunOnceCallback
- Enclosing class:
- RunOnce
public static interface RunOnce.RunOnceCallback
-
Method Summary
-
Method Details
-
run
boolean run()Called fromRunOncewhen 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.
-