Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace EventedStream<Chunk, Err>

Type parameters

  • Chunk

  • Err = Error

Index

Type aliases

CloseEventListener

CloseEventListener: () => void

Type declaration

    • (): void
    • Returns void

DataEventListener

DataEventListener<Chunk>: (chunk: Chunk) => void

Type parameters

  • Chunk

Type declaration

    • (chunk: Chunk): void
    • Parameters

      • chunk: Chunk

      Returns void

ErrorEventListener

ErrorEventListener<Err>: (error: Err) => void

Type parameters

  • Err = Error

Type declaration

    • (error: Err): void
    • Parameters

      • error: Err

      Returns void

Properties

Readonly addListener

addListener: ListenerModifier<Chunk, Err>

Readonly removeListener

removeListener: ListenerModifier<Chunk, Err>

Generated using TypeDoc