Options
All
  • Public
  • Public/Protected
  • All
Menu

Container for stream handlers. Maps stream code to the handler instance.

Hierarchy

  • HandlersMap

Index

Constructors

Methods

Constructors

constructor

Methods

add

get

  • get<T>(type: string | number): StreamHandler<T>
  • Return stream handler based on its name or code. Throw error if not found.

    Type parameters

    • T: Stream

    Parameters

    • type: string | number

      name or id of the handler.

    Returns StreamHandler<T>