Skip to content

Incorporate Task/Workflow context to input/output/export API on the DSL #866

@ricardozanini

Description

@ricardozanini

After #863 we now need to incorporate this change to the DSL. So users can do:

workflow().tasks(f -> f.callFn(fn -> fn.function(myfunction::doSomething).exportAs((WorkflowContext, TaskContext) -> myExporter::export))

Also, improve the shortcuts to something like:

workflow().tasks(call(function(myFunction::doSomething).exportAs(myExporter::export))))

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions