Packages

t

fs2.io

Duplex

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

https://nodejs.org/api/stream.html

Linear Supertypes
Writable, Readable, EventEmitter, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Duplex
  2. Writable
  3. Readable
  4. EventEmitter
  5. Object
  6. Any
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. def destroy(): Duplex.this.type
    Attributes
    protected[io]
    Definition Classes
    DuplexWritableReadable
  7. def end(cb: Function1[UndefOr[Error], Unit]): Duplex.this.type
    Attributes
    protected[io]
    Definition Classes
    Writable
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  11. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  18. def on[E, F](eventName: String, listener: Function2[E, F, Unit]): Duplex.this.type
    Attributes
    protected[io]
    Definition Classes
    EventEmitter
  19. def on[E](eventName: String, listener: Function1[E, Unit]): Duplex.this.type
    Attributes
    protected[io]
    Definition Classes
    EventEmitter
  20. def on(eventName: String, listener: Function0[Unit]): Duplex.this.type
    Attributes
    protected[io]
    Definition Classes
    EventEmitter
  21. def once[E](eventName: String, listener: Function1[E, Unit]): Duplex.this.type
    Attributes
    protected[io]
    Definition Classes
    EventEmitter
  22. def once(eventName: String, listener: Function0[Unit]): Duplex.this.type
    Attributes
    protected[io]
    Definition Classes
    EventEmitter
  23. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  24. def push(chunk: Uint8Array): Boolean
    Attributes
    protected[io]
    Definition Classes
    Readable
  25. def read(): Uint8Array
    Attributes
    protected[io]
    Definition Classes
    Readable
  26. def readableEnded: Boolean
    Attributes
    protected[io]
    Definition Classes
    Readable
  27. def removeAllListeners(eventName: String): Duplex.this.type
    Attributes
    protected[io]
    Definition Classes
    EventEmitter
  28. def removeAllListeners(): Duplex.this.type
    Attributes
    protected[io]
    Definition Classes
    EventEmitter
  29. def removeListener(eventName: String, listener: Function): Duplex.this.type
    Attributes
    protected[io]
    Definition Classes
    EventEmitter
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toLocaleString(): String
    Definition Classes
    Object
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. def valueOf(): Any
    Definition Classes
    Object
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. def writableEnded: Boolean
    Attributes
    protected[io]
    Definition Classes
    Writable
  38. def write(chunk: Uint8Array, cb: Function1[UndefOr[Error], Unit]): Boolean
    Attributes
    protected[io]
    Definition Classes
    Writable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Writable

Inherited from Readable

Inherited from EventEmitter

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped