MCPcopy Index your code
hub / github.com/python/cpython / constructor

Method constructor

Platforms/emscripten/streams.mjs:194–197  ·  view source on GitHub ↗
(nodeStream)

Source from the content-addressed store, hash-verified

192
193class NodeWriter {
194 constructor(nodeStream) {
195 this.nodeStream = nodeStream;
196 this.isatty = tty.isatty(nodeStream.fd);
197 }
198
199 write(buffer) {
200 return fs.writeSync(this.nodeStream.fd, buffer);

Callers

nothing calls this directly

Calls 1

isattyMethod · 0.45

Tested by

no test coverage detected