Package dev.restate.client
Interface Client.WorkflowHandle<Res>
- Enclosing interface:
Client
public static interface Client.WorkflowHandle<Res>
-
Method Summary
Modifier and TypeMethodDescriptionattach()
Attach to a running workflow, waiting for its output.attach
(RequestOptions options) Likeattach()
, with request options.default CompletableFuture
<Response<Res>> Future version ofattach()
attachAsync
(RequestOptions options) Future version ofattach()
, with options.Get the output of a workflow.getOutput
(RequestOptions options) LikegetOutput()
, with request options.default CompletableFuture
<Response<Output<Res>>> Future version ofgetOutput()
getOutputAsync
(RequestOptions options) Future version ofgetOutput()
, with options.
-
Method Details
-
attachAsync
Future version ofattach()
, with options.- See Also:
-
attachAsync
Future version ofattach()
- See Also:
-
attach
Likeattach()
, with request options.- Throws:
IngressException
- See Also:
-
attach
Attach to a running workflow, waiting for its output.- Throws:
IngressException
-
getOutputAsync
Future version ofgetOutput()
, with options.- See Also:
-
getOutputAsync
Future version ofgetOutput()
- See Also:
-
getOutput
LikegetOutput()
, with request options.- Throws:
IngressException
- See Also:
-
getOutput
Get the output of a workflow. If running,Output.isReady()
will be false.- Throws:
IngressException
-