-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
for some reason the messages stay in the bus :/
Every time you run this, console.dir() will output more.
var simplebus = require('./.');
var bus = simplebus.createBus(1);
var server = simplebus.createServer(bus, 3001);
server.start()
var simplebus = require('simplebus');
var bus = simplebus.createClient(3001);
bus.start( function(){
console.log("connected to bus")
bus.subscribe({event:"myevent"}, function(data) {
console.dir(data);
});
bus.post({ event: "myevent", data:{} });
})
UPDATE: here's the problem: #5
Metadata
Metadata
Assignees
Labels
No labels