Thanks for your answers. I finally implemented SSE using ports. Works like
a charm and was actually quite trivial to code.
I would still love to see this implemented directly into an elm
package/core package, I'll follow Joaquin's advice and make the proposal to
On Wed, Sep 14, 2016 at 11:11 PM, Joaquín Oltra <joaquin.ol...@gmail.com>
> I'd recommend making the proposal with concrete use cases in elm-dev to be
> discussed, but then move on and use ports and get the job done with
> Native is mostly undocumented and apparently discouraged.
> Elm is (very) good for what it has been designed, but it's design process
> starts from specific use cases and it takes time.
> Personally I'd like to see some kind of promise/task port, since most of
> the times I send to JS I want to listen for a result/error coupled to that
> submission (like making a jsonp call), and promises/tasks ports would make
> that kind of interop feel a lot more natural in Elm.
> You received this message because you are subscribed to a topic in the
> Google Groups "Elm Discuss" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> To unsubscribe from this group and all its topics, send an email to
> For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Elm
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.