Interface Stream

Index

Methods

Methods

public emit(evt: string, data: any)

Parameters

  • evt: string
  • data: any

public flush()

public on(evt: string, callback: (data?: any) => any): any

Parameters

  • evt: string
  • callback: (data?: any) => any

Returns

any

public pipe(stream: Stream): Stream

Parameters

Returns

Stream