messenger.js icon indicating copy to clipboard operation
messenger.js copied to clipboard

Fix for issue #3

Open PatrickG opened this issue 12 years ago • 2 comments

If a request is executed before a connection exists, save this temporarily and send it after a connection has been established.

PatrickG avatar Oct 17 '12 03:10 PatrickG

feels like a pretty big fail in the library that it doesn't either:

  1. let the client know when a connect happens
  2. buffer any shout/requests internally in speaker.js until it has

asking us to do a settimeout or other hacks is silly.

funston avatar Nov 08 '12 18:11 funston

I've found a better module: axon (https://github.com/visionmedia/axon). I've not tested it yet, but the docs are looking very nice.

PatrickG avatar Nov 09 '12 04:11 PatrickG