trait Duplex extends Object with Readable with Writable
A facade for Node.js stream.Duplex
. Extend or cast to/from your own bindings.
- Annotations
- @native() @nowarnIgnored("cat=unused") @JSType()
- Source
- NodeStream.scala
- See also
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Duplex
- Writable
- Readable
- EventEmitter
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def destroy(): Duplex.this.type
- def end(cb: Function1[UndefOr[Error], Unit]): Duplex.this.type
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def on[E, F](eventName: String, listener: Function2[E, F, Unit]): Duplex.this.type
- Attributes
- protected[io]
- Definition Classes
- EventEmitter
- def on[E](eventName: String, listener: Function1[E, Unit]): Duplex.this.type
- Attributes
- protected[io]
- Definition Classes
- EventEmitter
- def on(eventName: String, listener: Function0[Unit]): Duplex.this.type
- Attributes
- protected[io]
- Definition Classes
- EventEmitter
- def once[E](eventName: String, listener: Function1[E, Unit]): Duplex.this.type
- Attributes
- protected[io]
- Definition Classes
- EventEmitter
- def once(eventName: String, listener: Function0[Unit]): Duplex.this.type
- Attributes
- protected[io]
- Definition Classes
- EventEmitter
- def propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- def push(chunk: Uint8Array): Boolean
- def read(): Uint8Array
- def readableEnded: Boolean
- def removeAllListeners(eventName: String): Duplex.this.type
- Attributes
- protected[io]
- Definition Classes
- EventEmitter
- def removeAllListeners(): Duplex.this.type
- Attributes
- protected[io]
- Definition Classes
- EventEmitter
- def removeListener(eventName: String, listener: Function): Duplex.this.type
- Attributes
- protected[io]
- Definition Classes
- EventEmitter
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toLocaleString(): String
- Definition Classes
- Object
- def toString(): String
- Definition Classes
- AnyRef → Any
- def valueOf(): Any
- Definition Classes
- Object
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def writableEnded: Boolean
- def write(chunk: Uint8Array, cb: Function1[UndefOr[Error], Unit]): Boolean