java.lang.Object
com.inductiveautomation.ignition.common.script.builtin.ComposedRequest
All Implemented Interfaces:
RequestWatcher

public class ComposedRequest extends Object implements RequestWatcher
  • Constructor Details

    • ComposedRequest

      public ComposedRequest()
  • Method Details

    • block

      public boolean block()
      Description copied from interface: RequestWatcher
      Blocks until the request is complete.
      Specified by:
      block in interface RequestWatcher
      Returns:
      true if the request completed successfully, false if it failed or was cancelled.
    • compose

      public RequestWatcher compose(RequestWatcher... requestWatchers)
      Description copied from interface: RequestWatcher
      Composes this request with others into a single watcher.
      Specified by:
      compose in interface RequestWatcher
      Parameters:
      requestWatchers - The other watchers to compose with.
      Returns:
      A new RequestWatcher that tracks all provided requests.