projects
/
platform
/
framework
/
web
/
wrtjs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[Service] Integrate DeviceHome and SignalingServer
[platform/framework/web/wrtjs.git]
/
device_home
/
node_modules
/
set-blocking
/
index.js
1
module.exports = function (blocking) {
2
[process.stdout, process.stderr].forEach(function (stream) {
3
if (stream._handle && stream.isTTY && typeof stream._handle.setBlocking === 'function') {
4
stream._handle.setBlocking(blocking)
5
}
6
})
7
}