Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EmitFunc<Return, Chunk, Err>

Function that emits events

Type parameters

  • Return

  • Chunk: string | Buffer

  • Err = any

Hierarchy

  • EmitFunc

Callable

  • __call(event: "data", data: Chunk): Return
  • __call(event: "error", error: Err): Return
  • __call(event: "close"): Return

Generated using TypeDoc