Re: [elixir-core:10193] Proposal: Add function to return the first async task to complete

2021-04-02 Thread José Valim
PRs to improve the docs is always welcome! On Fri, Apr 2, 2021 at 21:02 thia.md...@gmail.com wrote: > > And this made me wonder: is there any reason why you can't use > Task.async_stream? > > After testing, I'm sure we can accomplish the same thing that was proposed > with Task.async_stream.

Re: [elixir-core:10193] Proposal: Add function to return the first async task to complete

2021-04-02 Thread thia.md...@gmail.com
> And this made me wonder: is there any reason why you can't use Task.async_stream? After testing, I'm sure we can accomplish the same thing that was proposed with Task.async_stream. There is really no reason for an extra function. One thing that would be nice is to have an example for this