A SetMultiMap linking identifiers to a set of Streaming HTTP streams. An extension of WrappedSetMultiMap to make sure Components.js allows us to create this in the config, as WrappedSetMultiMap has a constructor not supported.

Hierarchy

Implements

Constructors

  • Parameters

    • mapConstructor: (new () => Map<string, Set<PassThrough>>) = Map

      Will be used to instantiate the internal Map.

        • new (): Map<string, Set<PassThrough>>
        • Returns Map<string, Set<PassThrough>>

    • Optional iterable: Iterable<readonly [string, PassThrough | ReadonlySet<PassThrough>]>

      Entries to add to the map.

    Returns StreamingHttpMap

Properties

[toStringTag]: "WrappedSetMultiMap" = 'WrappedSetMultiMap'

Accessors

Methods

  • Loops over all key/value bindings.

    Parameters

    • callbackfn: ((value, key, map) => void)
        • (value, key, map): void
        • Parameters

          • value: PassThrough
          • key: string
          • map: SetMultiMap<string, PassThrough>

          Returns void

    • Optional thisArg: unknown

    Returns void

  • Returns all values stored for the given key. Returns undefined if there are no values for this key.

    Parameters

    • key: string

    Returns undefined | ReadonlySet<PassThrough>