elm/compiler

Send Bytes through ports

cdevienne opened this issue · 1 comments

Using binary websockets and handle the messages in Elm currently means encoding/decoding to/from strings to get the data through ports.

The lamdera compiler already provides this feature, making things more efficient, but I think it is legitimate expectation for the standard compiler.

A real-life example is Elm Nats.

Thanks for considering this addition.

Thanks for reporting this! To set expectations:

  • Issues are reviewed in batches, so it can take some time to get a response.
  • Ask questions in a community forum. You will get an answer quicker that way!
  • If you experience something similar, open a new issue. We like duplicates.

Finally, please be patient with the core team. They are trying their best with limited resources.