It's pretty laggy
--
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/op
What i would really want i something like this.
JoinChannel ->
let
msgs =
[ ( "new:event:notification", ReceiveNotification )
, ( "added:to:group:notification", ReceiveOtherthing )
]
channel =
ctx msg model =
> case msg of
> LocalStuff ->
> model ! [Cmd.map ctx.toParent localCmd]
>
> SomeMsg ->
> model ![succeed ctx.someCmd]
>
> SomeOtherMsg ->
> model ![succeed ctx.someOtherCmd]
>
Hi i have a top level websocket controller that is supposed to take care of
all websocket stuff and children make use of it with the help of *OutMsg*.
This is my current solution but i feel like i can not abstract in a good
way. What i really want would be for the children to be able to say wher