On Fri, May 12, 2017 at 7:33 PM, Frank Bonetti <[email protected]> wrote:
> Also, to the best of my knowledge, the only way to execute Tasks > concurrently and independently is to use Cmd.batch. > Yes. But you cannot have concurrency and guaranteed ordering in the same time without some kind of synchronization mechanism. Imagine for a second that the first task takes 2 seconds the second task 1 second and the third 500ms. They finish in reverse order. If you want their result immediately after they finish, the results will come in the wrong order. Also, regarding not being guarantees for order here is an older issue in the core where this is mentioned: https://github.com/elm-lang/core/issues/730#issuecomment-253584490 -- There is NO FATE, we are the creators. blog: http://damoc.ro/ -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
