Flask-Shell2HTTP
Flask-Shell2HTTP copied to clipboard
`future.done()` and `callback_fn` race condition
When using &wait=true, the callback_fn cannot be used to modify the result because it is called after the future completes.
This happens if one calls future.done() to wait before the callback fn is executed, it would not work as intended.