Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Stream<Chunk, Err>

Interface of a stream

Type parameters

  • Chunk: string | Buffer

  • Err = any

Hierarchy

Implemented by

Index

Properties

Methods

Properties

Readonly on

on: EventedStream.ListenerModifier<Chunk, Err>

Readonly once

once: EventedStream.ListenerModifier<Chunk, Err>

Methods

[Symbol.asyncIterator]

  • [Symbol.asyncIterator](): AsyncIterator<Chunk>

write

  • write(chunk: Chunk): void

Generated using TypeDoc