-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
In the noodles execution approach we intend to use @schedule
on individual steps in order to construct the workflow. This modifies the function call so that it now returns a promise
rather than executing the function itself.
If instead the decorator would add a member (e.g. ._promise
to the functions, or ._fairworkflow
to the workflow function) then this could be done such that the original function call still works as before.
It might require some conditional switch in the decorator, according to context. It might also be insane. Investigate this.