socketstream/socketstream — Issue #122: Can I broadcast messages on timer in 0.3?
Author: nponeccop
Created: 2012-01-25 20:30:30+00:00
State: open

In ss 0.2 I could broadcast a message X seconds to all connected clients:

```javascript
foo.on('tick', function ()
{
SS.publish.broadcast('foo', [ ' bar' ])
})
```
How can I do this in 0.3? The global `SS` is not defined. And `ss = require('socketstream')` has `publish`, but not `publish.all`.

Is there a way to perform `ss.publish.all()` outside RPC responses?