Hi, I am on Wouter side on this. As a newcomer, I was not aware of these 
things. I figured out a way to do this sendMsg function (which I called at 
the time msgToCmd ^^) because I needed it at some point. And since it was 
"so convenient" I ended up using it all the time instead of calling the 
appropriate update. Turns out later when the app grew, I had many unsolving 
problems due to this architecture and tried to find a way to order my 
batched cmds since I need few things to happen after others. In sum, update 
when synchrone, only create commands (with functions like sendMsg) when 
asynchrone.

Though I do needed to create this function ^^.

On Tuesday, November 22, 2016 at 10:59:37 PM UTC+8, Charlie Koster wrote:
>
> The log then shows that between the DoStuff message and the DoMore 
>> message, a Tick message comes in.
>>
>
> Well, that's troubling and undermines my assumption. That's for looking 
> into this.
>
> For those skimming through this post, *race conditions are possible when 
> doing something like `*Task.perform (\_ -> GoToLoginPage) (Task.succeed 
> Nothing)`
>
> The fact that we do not agree on this, makes it an interesting discussion 
>> here.
>
> Where do others stand on this?
>
>
> ^^^ 
>

-- 
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.

Reply via email to