Flask-Shell2HTTP icon indicating copy to clipboard operation
Flask-Shell2HTTP copied to clipboard

`future.done()` and `callback_fn` race condition

Open eshaan7 opened this issue 4 years ago • 0 comments

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.

eshaan7 avatar Sep 23 '21 08:09 eshaan7