--
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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
It discards.
Am Montag, 15. Dezember 2014 schrieb Do Bi :
Hi,--
my question is as simple as stated in the topic: Does Signal.merge discard or queue the second signal if both come in at the same time?
(I'm not sure, what is meant by "the left update wins. ^_-)
Regards,
Tobias
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+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss...@googlegroups.com.
--
A queueing kind of merge would have even more subtle behaviour consequences with some events becoming unsynchronised by the delay the merge imposes on a collision.
The current implementation of merge doesn't impose any delay.
I was talking about the hypothetical queuing merge that's mentioned in this thread as a way to avoid having merge drop the event of the right signal when both left and right update in the same round (which I'm calling a collision)
--