I want to build code to work with a well known JS library, and to make it 
reusable. I'm going to need some state that is ancillary to the core 
functionality, and thought about an Effects Manager.

I know we are normally directed towards Evan's Websocket library, but that 
uses Native code and gets Tasks that way.

As Native is otherwise banned, I obviously thought of Ports. However, 
Effects Managers work with Tasks, while ports return Cmds, and while 
.perform can turn a Task into a Command, the reverse does not seem 

Comments? Does anyone have an example of an Effects Manager working via a 

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.

Reply via email to