producer
v0.1.1
Published
A readable stream that emits particular JSON objects at the defined ttl. Abstracted out of `godot`
Downloads
11
Readme
producer
Readable stream that emits godot
object events at a particular TTL.
Example
var Producer = require('producer');
var producer = new Produdcer();
//
// Will emit a standard `godot` object every 15 seconds (default values)
//
producer.on('data', function (data) {
console.dir(data);
});