Canvas Item Decorator For Asynchronous Workflow Item #338
Labels
area/vrotsc
Relates to `vrotsc` module
effort/high
kind/feature
New Feature to the project
lang/typescript
Related to typescript code
priority/medium
triage/needed
Needs to be discussed by project maintainers
version/minor
Introduces a non-breaking feature or change
Description
We want to support the possibility to define an "Asynchronous Element" with a decorator
The Async Element can be used to execute a "Workflow" asynchronously, giving you back a workflow execution token that can be used to wait for the workflow to complete and consequently extract state/outputs from it.
Example
This is how the
workflow-item
looks like when we are dealing with an "Asynchronous Element":Notes
SourceFilePrinter
to handle this case.ts.factory
to generate the code block.launched-workflow-id
needs to be set as well, so the item looks correct in the canvasThe text was updated successfully, but these errors were encountered: