Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StreamEventEmitter<T, K, I, State>

Type parameters

  • T: object

  • K

  • I: string

  • State

Hierarchy

  • any
    • StreamEventEmitter

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • new StreamEventEmitter(__namedParameters: { beforeClosing: () => void }): StreamEventEmitter
  • Parameters

    • __namedParameters: { beforeClosing: () => void }
      • beforeClosing: () => void
          • (): void
          • Returns void

    Returns StreamEventEmitter

Properties

Private Readonly beforeClosing

beforeClosing: () => void

Passed at construction time, called before the 'close' event is emitted

Type declaration

    • (): void
    • Returns void

Methods

close

  • close(): void
  • Returns void

Generated using TypeDoc