Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "streams/node/debug-sink/docs/types/index.d"

Index

Type aliases

Binary

Binary: (debug: Function, chunk: any) => void

Callback function invoked upon receiving data.

param

logging function

param

data chunk

param

chunk index

Type declaration

    • (debug: Function, chunk: any): void
    • Parameters

      • debug: Function
      • chunk: any

      Returns void

Callback

Callback: Nullary | Unary | Binary | Ternary

Callback function invoked upon receiving data.

param

logging function

param

data chunk

param

chunk index

Nullary

Nullary: () => void

Callback function invoked upon receiving data.

Type declaration

    • (): void
    • Returns void

Ternary

Ternary: (debug: Function, chunk: any, idx: number) => void

Callback function invoked upon receiving data.

param

logging function

param

data chunk

param

chunk index

Type declaration

    • (debug: Function, chunk: any, idx: number): void
    • Parameters

      • debug: Function
      • chunk: any
      • idx: number

      Returns void

Unary

Unary: (debug: Function) => void

Callback function invoked upon receiving data.

param

logging function

param

data chunk

Type declaration

    • (debug: Function): void
    • Parameters

      • debug: Function

      Returns void

Variables

Export assignment debugSinkStream

debugSinkStream: Constructor

Returns an debug sink stream.

param

stream options

throws

must provide valid options

returns

stream instance