object streamMod
- Source
- streamMod.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- streamMod
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- class Duplex extends Object with StObject
- Annotations
- @JSType() @JSImport("stream", "Duplex") @native()
- trait DuplexOptions extends Object with StObject with ReadableOptions
- Annotations
- @JSType() @native()
- trait FinishedOptions extends Object with StObject with Abortable
- Annotations
- @JSType() @native()
- class PassThrough extends Object with StObject
- Annotations
- @JSType() @JSImport("stream", "PassThrough") @native()
- trait Pipe extends Object with StObject
- Annotations
- @JSType() @native()
- type PipelineCallback[S] = |[Function1[|[ErrnoException, Null], Unit], Function2[|[ErrnoException, Null], Any, Unit]]
- type PipelineDestination[S, P] = |[|[WritableStream, PipelineDestinationIterableFunction[Any]], PipelineDestinationPromiseFunction[Any, P]]
- type PipelineDestinationIterableFunction[T] = Function1[AsyncIterable[T], AsyncIterable[Any]]
- type PipelineDestinationPromiseFunction[T, P] = Function1[AsyncIterable[T], Promise[P]]
- trait PipelineOptions extends Object with StObject
- Annotations
- @JSType() @native()
- type PipelinePromise[S] = Promise[|[Any, Unit]]
- type PipelineSource[T] = |[|[|[Iterable[T], AsyncIterable[T]], ReadableStream], PipelineSourceFunction[T]]
- type PipelineSourceFunction[T] = Function0[|[Iterable[T], AsyncIterable[T]]]
- type PipelineTransform[S, U] = |[ReadWriteStream, Function1[|[S, AsyncIterable[Any]], AsyncIterable[U]]]
- type PipelineTransformSource[T] = |[PipelineSource[T], PipelineTransform[Any, T]]
- class Readable extends Object with StObject with ReadableStream
- Annotations
- @JSType() @JSImport("stream", "Readable") @native()
- trait ReadableOptions extends Object with StObject with StreamOptions[Readable]
- Annotations
- @JSType() @native()
- class Stream extends Object with StObject with StdioNull
- Annotations
- @JSType() @JSImport("stream", "Stream") @native()
- trait StreamOptions[T] extends Object with StObject with Abortable
- Annotations
- @JSType() @native()
- class Transform extends Object with StObject
- Annotations
- @JSType() @JSImport("stream", "Transform") @native()
- type TransformCallback = Function2[UndefOr[|[Error, Null]], UndefOr[Any], Unit]
- trait TransformOptions extends Object with StObject with DuplexOptions
- Annotations
- @JSType() @native()
- class Writable extends Object with StObject with WritableStream
- Annotations
- @JSType() @JSImport("stream", "Writable") @native()
- trait WritableOptions extends Object with StObject with StreamOptions[Writable]
- Annotations
- @JSType() @native()
- class ^ extends Object with StObject
- Annotations
- @JSType() @JSImport("stream", JSImport.Namespace) @native()
- trait internal extends Object with StObject
- Annotations
- @JSType() @native()
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
- val ^: Any
- Annotations
- @JSImport("stream", JSImport.Namespace) @native()
- 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
aborton theAbortControllercorresponding to the passedAbortSignalwill behave the same way as calling.destroy(new AbortError())on the stream.- Annotations
- @inline()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finished(stream: WritableStream, options: FinishedOptions, callback: Function1[UndefOr[|[ErrnoException, Null]], Unit]): Function0[Unit]
- Annotations
- @inline()
- def finished(stream: WritableStream, callback: Function1[UndefOr[|[ErrnoException, Null]], Unit]): Function0[Unit]
- Annotations
- @inline()
- def finished(stream: ReadableStream, options: FinishedOptions, callback: Function1[UndefOr[|[ErrnoException, Null]], Unit]): Function0[Unit]
- Annotations
- @inline()
- def finished(stream: ReadableStream, callback: Function1[UndefOr[|[ErrnoException, Null]], Unit]): Function0[Unit]
- Annotations
- @inline()
- def finished(stream: ReadWriteStream, options: FinishedOptions, callback: Function1[UndefOr[|[ErrnoException, Null]], Unit]): Function0[Unit]
- Annotations
- @inline()
- def finished(stream: ReadWriteStream, callback: Function1[UndefOr[|[ErrnoException, Null]], Unit]): Function0[Unit]
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- 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()
- def pipeline[A, T1, T2, T3, T4, B](source: A, transform1: T1, transform2: T2, transform3: T3, transform4: T4, destination: B): |[WritableStream, B]
- Annotations
- @inline()
- def pipeline[A, T1, T2, T3, B](source: A, transform1: T1, transform2: T2, transform3: T3, destination: B, callback: PipelineCallback[B]): |[WritableStream, B]
- Annotations
- @inline()
- def pipeline[A, T1, T2, T3, B](source: A, transform1: T1, transform2: T2, transform3: T3, destination: B): |[WritableStream, B]
- Annotations
- @inline()
- def pipeline[A, T1, T2, B](source: A, transform1: T1, transform2: T2, destination: B, callback: PipelineCallback[B]): |[WritableStream, B]
- Annotations
- @inline()
- def pipeline[A, T1, T2, B](source: A, transform1: T1, transform2: T2, destination: B): |[WritableStream, B]
- Annotations
- @inline()
- def pipeline[A, T1, B](source: A, transform1: T1, destination: B, callback: PipelineCallback[B]): |[WritableStream, B]
- Annotations
- @inline()
- def pipeline[A, T1, B](source: A, transform1: T1, destination: B): |[WritableStream, B]
- Annotations
- @inline()
- def pipeline[A, B](source: A, destination: B, callback: PipelineCallback[B]): |[WritableStream, B]
- Annotations
- @inline()
- def pipeline[A, B](source: A, destination: B): |[WritableStream, B]
- Annotations
- @inline()
- def pipeline(streams: Array[|[|[ReadableStream, WritableStream], ReadWriteStream]], callback: Function1[|[ErrnoException, Null], Unit]): WritableStream
- Annotations
- @inline()
- def pipeline(streams: Array[|[|[ReadableStream, WritableStream], ReadWriteStream]]): WritableStream
- Annotations
- @inline()
- def pipeline(stream1: ReadableStream, stream2: WritableStream, streams: |[|[ReadWriteStream, WritableStream], Function1[|[ErrnoException, Null], Unit]]*): WritableStream
- Annotations
- @inline()
- def pipeline(stream1: ReadableStream, stream2: ReadWriteStream, streams: |[|[ReadWriteStream, WritableStream], Function1[|[ErrnoException, Null], Unit]]*): WritableStream
- Annotations
- @inline()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): java.lang.String
- Definition Classes
- AnyRef → Any
- 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])
- object DuplexOptions
- object FinishedOptions
- object Pipe
- object PipelineOptions
- object Readable
- object ReadableOptions
- object StreamOptions
- object TransformOptions
- object WritableOptions
- object promises
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated