Packages

object streamMod

Source
streamMod.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. streamMod
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. class Duplex extends Object with StObject
    Annotations
    @JSType() @JSImport("stream", "Duplex") @native()
  2. trait DuplexOptions extends Object with StObject with ReadableOptions
    Annotations
    @JSType() @native()
  3. trait FinishedOptions extends Object with StObject with Abortable
    Annotations
    @JSType() @native()
  4. class PassThrough extends Object with StObject
    Annotations
    @JSType() @JSImport("stream", "PassThrough") @native()
  5. trait Pipe extends Object with StObject
    Annotations
    @JSType() @native()
  6. type PipelineCallback[S] = |[Function1[|[ErrnoException, Null], Unit], Function2[|[ErrnoException, Null], Any, Unit]]
  7. type PipelineDestination[S, P] = |[|[WritableStream, PipelineDestinationIterableFunction[Any]], PipelineDestinationPromiseFunction[Any, P]]
  8. type PipelineDestinationIterableFunction[T] = Function1[AsyncIterable[T], AsyncIterable[Any]]
  9. type PipelineDestinationPromiseFunction[T, P] = Function1[AsyncIterable[T], Promise[P]]
  10. trait PipelineOptions extends Object with StObject
    Annotations
    @JSType() @native()
  11. type PipelinePromise[S] = Promise[|[Any, Unit]]
  12. type PipelineSource[T] = |[|[|[Iterable[T], AsyncIterable[T]], ReadableStream], PipelineSourceFunction[T]]
  13. type PipelineSourceFunction[T] = Function0[|[Iterable[T], AsyncIterable[T]]]
  14. type PipelineTransform[S, U] = |[ReadWriteStream, Function1[|[S, AsyncIterable[Any]], AsyncIterable[U]]]
  15. type PipelineTransformSource[T] = |[PipelineSource[T], PipelineTransform[Any, T]]
  16. class Readable extends Object with StObject with ReadableStream
    Annotations
    @JSType() @JSImport("stream", "Readable") @native()
  17. trait ReadableOptions extends Object with StObject with StreamOptions[Readable]
    Annotations
    @JSType() @native()
  18. class Stream extends Object with StObject with StdioNull
    Annotations
    @JSType() @JSImport("stream", "Stream") @native()
  19. trait StreamOptions[T] extends Object with StObject with Abortable
    Annotations
    @JSType() @native()
  20. class Transform extends Object with StObject
    Annotations
    @JSType() @JSImport("stream", "Transform") @native()
  21. type TransformCallback = Function2[UndefOr[|[Error, Null]], UndefOr[Any], Unit]
  22. trait TransformOptions extends Object with StObject with DuplexOptions
    Annotations
    @JSType() @native()
  23. class Writable extends Object with StObject with WritableStream
    Annotations
    @JSType() @JSImport("stream", "Writable") @native()
  24. trait WritableOptions extends Object with StObject with StreamOptions[Writable]
    Annotations
    @JSType() @native()
  25. class ^ extends Object with StObject
    Annotations
    @JSType() @JSImport("stream", JSImport.Namespace) @native()
  26. trait internal extends Object with StObject
    Annotations
    @JSType() @native()

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. val ^: Any
    Annotations
    @JSImport("stream", JSImport.Namespace) @native()
  5. def addAbortSignal[T](signal: AbortSignal, stream: T): T

    Attaches an AbortSignal to a readable or writeable stream.

    Attaches an AbortSignal to a readable or writeable stream. This lets code control stream destruction using an AbortController.

    Calling abort on the AbortController corresponding to the passed AbortSignal will behave the same way as calling .destroy(new AbortError()) on the stream.

    Annotations
    @inline()
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finished(stream: WritableStream, options: FinishedOptions, callback: Function1[UndefOr[|[ErrnoException, Null]], Unit]): Function0[Unit]
    Annotations
    @inline()
  11. def finished(stream: WritableStream, callback: Function1[UndefOr[|[ErrnoException, Null]], Unit]): Function0[Unit]
    Annotations
    @inline()
  12. def finished(stream: ReadableStream, options: FinishedOptions, callback: Function1[UndefOr[|[ErrnoException, Null]], Unit]): Function0[Unit]
    Annotations
    @inline()
  13. def finished(stream: ReadableStream, callback: Function1[UndefOr[|[ErrnoException, Null]], Unit]): Function0[Unit]
    Annotations
    @inline()
  14. def finished(stream: ReadWriteStream, options: FinishedOptions, callback: Function1[UndefOr[|[ErrnoException, Null]], Unit]): Function0[Unit]
    Annotations
    @inline()
  15. def finished(stream: ReadWriteStream, callback: Function1[UndefOr[|[ErrnoException, Null]], Unit]): Function0[Unit]
    Annotations
    @inline()
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  22. def pipeline[A, T1, T2, T3, T4, B](source: A, transform1: T1, transform2: T2, transform3: T3, transform4: T4, destination: B, callback: PipelineCallback[B]): |[WritableStream, B]
    Annotations
    @inline()
  23. def pipeline[A, T1, T2, T3, T4, B](source: A, transform1: T1, transform2: T2, transform3: T3, transform4: T4, destination: B): |[WritableStream, B]
    Annotations
    @inline()
  24. def pipeline[A, T1, T2, T3, B](source: A, transform1: T1, transform2: T2, transform3: T3, destination: B, callback: PipelineCallback[B]): |[WritableStream, B]
    Annotations
    @inline()
  25. def pipeline[A, T1, T2, T3, B](source: A, transform1: T1, transform2: T2, transform3: T3, destination: B): |[WritableStream, B]
    Annotations
    @inline()
  26. def pipeline[A, T1, T2, B](source: A, transform1: T1, transform2: T2, destination: B, callback: PipelineCallback[B]): |[WritableStream, B]
    Annotations
    @inline()
  27. def pipeline[A, T1, T2, B](source: A, transform1: T1, transform2: T2, destination: B): |[WritableStream, B]
    Annotations
    @inline()
  28. def pipeline[A, T1, B](source: A, transform1: T1, destination: B, callback: PipelineCallback[B]): |[WritableStream, B]
    Annotations
    @inline()
  29. def pipeline[A, T1, B](source: A, transform1: T1, destination: B): |[WritableStream, B]
    Annotations
    @inline()
  30. def pipeline[A, B](source: A, destination: B, callback: PipelineCallback[B]): |[WritableStream, B]
    Annotations
    @inline()
  31. def pipeline[A, B](source: A, destination: B): |[WritableStream, B]
    Annotations
    @inline()
  32. def pipeline(streams: Array[|[|[ReadableStream, WritableStream], ReadWriteStream]], callback: Function1[|[ErrnoException, Null], Unit]): WritableStream
    Annotations
    @inline()
  33. def pipeline(streams: Array[|[|[ReadableStream, WritableStream], ReadWriteStream]]): WritableStream
    Annotations
    @inline()
  34. def pipeline(stream1: ReadableStream, stream2: WritableStream, streams: |[|[ReadWriteStream, WritableStream], Function1[|[ErrnoException, Null], Unit]]*): WritableStream
    Annotations
    @inline()
  35. def pipeline(stream1: ReadableStream, stream2: ReadWriteStream, streams: |[|[ReadWriteStream, WritableStream], Function1[|[ErrnoException, Null], Unit]]*): WritableStream
    Annotations
    @inline()
  36. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  37. def toString(): java.lang.String
    Definition Classes
    AnyRef → Any
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. object DuplexOptions
  42. object FinishedOptions
  43. object Pipe
  44. object PipelineOptions
  45. object Readable
  46. object ReadableOptions
  47. object StreamOptions
  48. object TransformOptions
  49. object WritableOptions
  50. object promises

Deprecated Value Members

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

Inherited from AnyRef

Inherited from Any

Ungrouped