Skip to content
A readable stream based off of producer that emits a godot event object on each ttl.
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
test
.gitignore
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

memory-producer

build
status

A readable stream based off of producer that emits a godot event object on each ttl.

example

var Memory = require('memory-producer');

//
// Emits a free and used memory event every 5 seconds
// with the process.memoryUsage() data for each data.meta
//
var memory = new Memory({ ttl: 5000 })

memory.on('data', function (data) {
  console.dir(data);
})
Something went wrong with that request. Please try again.