Open jcheng5 opened 6 years ago
It would be great if this, for example, didn't lose any messages:
app <- list( onWSOpen = function(ws) { later::later(~ws$onMessage(function(msg) { # Do something with msg }), 1000) } )
This is something the Node.js community has dealt with (first lacking it, then having it): https://nodejs.org/api/stream.html#stream_two_modes
It would be great if this, for example, didn't lose any messages:
This is something the Node.js community has dealt with (first lacking it, then having it): https://nodejs.org/api/stream.html#stream_two_modes