Sha256: 6fa8ffc3299f456e42902736bae35fbc1f2dc96b3905a02ba9629f5bd9f80af1
Contents?: true
Size: 386 Bytes
Versions: 59
Compression:
Stored size: 386 Bytes
Contents
export default function setBlocking(blocking) { if (typeof process === 'undefined') return; [process.stdout, process.stderr].forEach(_stream => { const stream = _stream; if (stream._handle && stream.isTTY && typeof stream._handle.setBlocking === 'function') { stream._handle.setBlocking(blocking); } }); }
Version data entries
59 entries across 59 versions & 6 rubygems