You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Another suggestion: I have lenghty subflow, and I want to send email once that flow have finished. If I add email function inside with serial(...) - it will be called right when flow is parsed. So I have to make send_email job and call it from flow. Kind of inneficient.
What I suggest is to have an ability to register callback functions with the flow:
with serial(...) as main_flow:
main_flow.on_success(some_callable)
main_flow.on_failure(some_other_callable)
main_flow.invoke('job1')
That way I don't have to do a separate job and can do interesting things from the same script.
Thanks!
Aleksey
The text was updated successfully, but these errors were encountered:
That was on my own wishlist for a long time but other featuress keep creaping in in front of it.
The 'message' method is a little similar (although it does not accept a callback)
Hi, Lars,
Another suggestion: I have lenghty subflow, and I want to send email once that flow have finished. If I add email function inside
with serial(...)
- it will be called right when flow is parsed. So I have to make send_email job and call it from flow. Kind of inneficient.What I suggest is to have an ability to register callback functions with the flow:
That way I don't have to do a separate job and can do interesting things from the same script.
Thanks!
Aleksey
The text was updated successfully, but these errors were encountered: