A suite to track Project Diva score statistics and ratings / D4DJ event data.
 
 
 
 
 
 
projectdivar/server/node_modules/set-blocking/index.js

7 lines
252 B

module.exports = function (blocking) {
[process.stdout, process.stderr].forEach(function (stream) {
if (stream._handle && stream.isTTY && typeof stream._handle.setBlocking === 'function') {
stream._handle.setBlocking(blocking)
}
})
}