[elm-discuss] Re: iframe performance

2016-07-27 Thread Nils Eriksson
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/optout.


[elm-discuss] Re: Better abstraction for web-socket controller, help and discussion wanted

2016-07-21 Thread Nils Eriksson
What i would really want i something like this. 

JoinChannel ->
let
msgs =
[ ( "new:event:notification", ReceiveNotification )
, ( "added:to:group:notification", ReceiveOtherthing )
]

channel =
"notifications:" ++ user.id
in
( model ! []
, ToPhx <| Phx.JoinChannel ( msgs, channel )
)

Where ReceiveNotification is a local child Msg.

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