websocket icon indicating copy to clipboard operation
websocket copied to clipboard

Support sending ordered list of messages

Open cdevienne opened this issue 8 years ago • 1 comments

In some case we have to send several messages in the socket at once, but in a specific order, which cannot be guaranteed by using several Cmd.

I can see 2 possible APIs for that:

  • add a specific function:

    sendMany : List (String) -> Cmd msg
    
  • add a task-based API:

    sendTask : String -> Task Error ()
    

cdevienne avatar May 22 '17 08:05 cdevienne

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

process-bot avatar May 22 '17 08:05 process-bot