MCPcopy Index your code
hub / github.com/dataease/SQLBot / Duplex

Function Duplex

frontend/public/swagger-ui-bundle.js:16651–16660  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

16649 Duplex.prototype[j] || (Duplex.prototype[j] = w.prototype[j])
16650 }
16651 function Duplex(s) {
16652 if (!(this instanceof Duplex)) return new Duplex(s)
16653 ;(_.call(this, s),
16654 w.call(this, s),
16655 (this.allowHalfOpen = !0),
16656 s &&
16657 (!1 === s.readable && (this.readable = !1),
16658 !1 === s.writable && (this.writable = !1),
16659 !1 === s.allowHalfOpen && ((this.allowHalfOpen = !1), this.once('end', onend))))
16660 }
16661 function onend() {
16662 this._writableState.ended || a.nextTick(onEndNT, this)
16663 }

Callers

nothing calls this directly

Calls 1

onceMethod · 0.65

Tested by

no test coverage detected