Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ValueStream<T>

Type parameters

  • T

Hierarchy

  • ValueStream

Index

Constructors

constructor

Properties

Private _internalOnClose

_internalOnClose: function

Type declaration

    • (): void
    • Returns void

Private _middleware

_middleware: function

Type declaration

    • (data: any): boolean
    • Parameters

      • data: any

      Returns boolean

Private _onClose

_onClose: function

Type declaration

    • (): void
    • Returns void

Private _onData

_onData: function

Type declaration

    • (data: any): void
    • Parameters

      • data: any

      Returns void

Private _onError

_onError: function

Type declaration

    • (err: any): void
    • Parameters

      • err: any

      Returns void

_stream

_stream: ReadableStream

Private closed

closed: boolean = false

Accessors

middleware

  • set middleware(value: function): void

onClose

  • set onClose(value: function): void

onData

  • set onData(value: function): void

onError

  • set onError(value: function): void

Methods

untilEnd

  • untilEnd(): Promise<void>

Generated using TypeDoc