Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StringBufferingStream

Hierarchy

Index

Constructors

Properties

buffer?: string
concat: ((left: string, right: string) => string)

Type declaration

    • (left: string, right: string): string
    • Parameters

      • left: string
      • right: string

      Returns string

emitInterval: number
length: ((what: string) => number)

Type declaration

    • (what: string): number
    • Parameters

      • what: string

      Returns number

maxChunkSize: number
onDataEmitter: Emitter<string> = ...
slice: ((what: string, start?: number, end?: number) => string)

Type declaration

    • (what: string, start?: number, end?: number): string
    • Parameters

      • what: string
      • Optional start: number
      • Optional end: number

      Returns string

timeout?: Timeout

Accessors

  • get onData(): Event<T>

Methods

  • dispose(): void
  • emitBufferedChunk(): void
  • push(chunk: string): void