0.2.0 • Published 11 years ago

revolver v0.2.0

Weekly downloads
10
License
-
Repository
github
Last release
11 years ago

revolver

A simple generic round-robin. Great for database connections pools.

Sample Usage:

var test_revolver = require('./revolver.js');
//Load bullets
test_revolver.load('Hai');
test_revolver.load('OMG');
//fire the bullets(They don't really disappear, just moves to the end of the line)
console.log(db_revolver.fire())
console.log(db_revolver.fire())

This can be used to store strings or anymost anything.