flightplan
flightplan copied to clipboard
Return the fiber in `Flightplan.run()`
When using Flightplan programatically, there's no (simple?) way to wait for the run() method to finish, inspect the result (success or failure), or capture the output.
I'm trying to use Flightplan in a Slack chatbot and it's not really convenient to use it outside of the CLI interface, which seems to be the primary application of the project, and it's built mostly around it.
Check this: https://github.com/pstadler/flightplan/issues/82#issuecomment-110849208
@pstadler I already use this, but there's no way to wait for the task to finish, inspect the status, and capture the output.
@pstadler Any suggestion how to handle this situation?