Firehose source (Readable) plug class

Hierarchy (View Summary)

Constructors

Properties

Accessors

Methods

Constructors

Properties

plugWrapper: PlugWrapper

Wrapped source plug

Accessors

  • get componentId(): string
  • Component identification

    Returns string

  • get metrics(): undefined | Registry<"text/plain; version=0.0.4; charset=utf-8">
  • Metrics registry for this component

    Returns undefined | Registry<"text/plain; version=0.0.4; charset=utf-8">

  • get name(): string
  • Component name

    Returns string

Methods

  • Perform the read of data from the source

    Parameters

    • size: number

    Returns void

  • Start the Plug and the underlayer resources, making it available

    Returns Promise<void>

  • Stop the Plug and the underlayer resources, making it unavailable

    Returns Promise<void>