Package 

Class Actions

    • Method Summary

      Modifier and Type Method Description
      static BaseAction together(@NonNull() Array<BaseAction> actions) Creates a BaseAction that executes all the child actionstogether, at the same time, and completes once all of them arecompleted.
      static BaseAction sequence(@NonNull() Array<BaseAction> actions) Creates a BaseAction that executes all the child actionsin sequence, waiting for the first to complete, then going on withthe second and so on, finally completing when all are completed.
      static BaseAction timeout(long timeoutMillis, @NonNull() BaseAction action) Creates a BaseAction that completes as normal, but is alsoforced to complete if the given timeout is reached, by calling abort.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • sequence

        @NonNull() static BaseAction sequence(@NonNull() Array<BaseAction> actions)

        Creates a BaseAction that executes all the child actionsin sequence, waiting for the first to complete, then going on withthe second and so on, finally completing when all are completed.

        Parameters:
        actions - input actions
      • timeout

        @NonNull() static BaseAction timeout(long timeoutMillis, @NonNull() BaseAction action)

        Creates a BaseAction that completes as normal, but is alsoforced to complete if the given timeout is reached, by calling abort.

        Parameters:
        timeoutMillis - timeout in milliseconds
        action - action