1

In the same way Redis provides a PSUBSCRIBE interface for wildcard events, can you subscribe to wildcards from the client (browser) using Juggernaut? I'm looking for something like this:

From the client:

var jug = new Juggernaut();
jug.subscribe('event:'+event.id+':*', function(res) {
  console.log(res);
});

And then from the server:

Juggernaut.publish("event:#{event.id}:foshiz", data)
shiftins
  • 87
  • 8

0 Answers0