Skip to content

Instantly share code, notes, and snippets.

Timothy J Fontaine tjfontaine

Block or report user

Report or block tjfontaine

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View queue.js
var queue = async.queue(function(task, callback) {
var ObjectId = mongoose.Types.ObjectId
var query = task.query
var update = task.update
var defer = task.defer
query._id['$in'] =['$in'], ObjectId)
var queryStream = scenarios.find(query).stream()
queryStream.pipe(streamWorker).on('end', function(foo) {
View t.js
var async = require('async'),
dgram = require('dgram');
var client = dgram.createSocket('udp4');
var totalTimeTaken = 0;
var iterations = +process.argv[2];
var completed = 0;
console.log('doing', iterations, 'iterations');

Node.js 0.12 is near, and we need your help to make it happen!

The state of Node.js 0.12

The v0.12 branch has been created recently and we're currently focused on making it as rock solid as possible before we can release it as the 0.12.0 version that we've all been looking forward to. There are currently 32 open issues that need to be fixed before the release. Some of them will be triaged to other milestones in

You can’t perform that action at this time.