Reply To: How do we write coroutines?

FlowCanvas Forums Support How do we write coroutines? Reply To: How do we write coroutines?

#3556
tomas.trescak
Participant

I jumped into your code and it seems that the reason for this is simple, as you do not support chained calls in the coroutine.

I believe the solution is quite simple, not sure If you would consider to implement this (or PR).

You add a new checkbox “coroutine” on any “Event” (i.e. onStart)
This will trigger a new property “coroutine” in “Flow”

If flow is a coroutine, it will not just do “Call”, but wait for next node if it is a coroutine.

What do you think?