When using Cmd.batch to send data over two ports, the ports receive events 
in the same order regardless of the order in which they appear in the 
batch.  I think that they should occur in the order in which they appear in 
the batch instead.

Working example:

Looking at the console, we see that port one always receives the event 
before port two.

To provide some motivation for this, consider two ports that write to the 
same local storage key.  Without any guarantees about the order of port 
event dispatch, we won't be able to know which write would win the race.

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 elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to