I need to wrap a workflow inside a api handler, so we can send the user response directly when the w
I need to wrap a workflow inside a api handler, so we can send the user response directly when the workflow finishes. I'm aware that this isn't the typical usecase for a workflow, but we don't want to implement our logic twice, once for runtime and the other for background handling. And in theory it would not be any difference if we just let the use wait for it to finish.






