rmanoka / async-scoped

A scope for async_std and tokio to spawn non-static futures
117 stars 14 forks source link

Allow async block in `scope_and_block` and `scope_and_collect` #20

Open rmanoka opened 8 months ago

rmanoka commented 8 months ago

We should support async blocks in the scope_and_block and scope_and_collect. This issue is to collect thoughts on possible unsafety if this allowed.

akoshelev commented 8 months ago

Do you have an example how it would work for FuturesOrdered container if we want futures to be resolved in FIFO order?