Class ComposedRequest
java.lang.Object
com.inductiveautomation.ignition.common.script.builtin.ComposedRequest
- All Implemented Interfaces:
RequestWatcher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanblock()Blocks until the request is complete.compose(RequestWatcher... requestWatchers) Composes this request with others into a single watcher.
-
Constructor Details
-
ComposedRequest
public ComposedRequest()
-
-
Method Details
-
block
public boolean block()Description copied from interface:RequestWatcherBlocks until the request is complete.- Specified by:
blockin interfaceRequestWatcher- Returns:
trueif the request completed successfully,falseif it failed or was cancelled.
-
compose
Description copied from interface:RequestWatcherComposes this request with others into a single watcher.- Specified by:
composein interfaceRequestWatcher- Parameters:
requestWatchers- The other watchers to compose with.- Returns:
- A new
RequestWatcherthat tracks all provided requests.
-