Interface AnyBatchContextCollectionMethods

AnyBatchContextCollectionMethods defines all possible methods available on an BatchContext object for the underlying collection types.

Hierarchy

Methods

  • Returns an iterable of key-value pairs for each entry in the map. Each value is represented as an BatchContext corresponding to its key.

    If the underlying instance at runtime is not a map, returns an empty iterator.

    Type Parameters

    • T extends Record<string, Value>

    Returns IterableIterator<[keyof T, BatchContext<T[keyof T]>]>

  • Returns an iterable of keys in the map.

    If the underlying instance at runtime is not a map, returns an empty iterator.

    Type Parameters

    • T extends Record<string, Value>

    Returns IterableIterator<keyof T>

  • Returns the number of entries in the map.

    If the underlying instance at runtime is not a map, returns undefined.

    Returns undefined | number

  • Returns an iterable of values in the map. Each value is represented as a BatchContext.

    If the underlying instance at runtime is not a map, returns an empty iterator.

    Type Parameters

    • T extends Record<string, Value>

    Returns IterableIterator<BatchContext<T[keyof T]>>

Generated using TypeDoc