Class GenerationalArena<T, I>

A SyncArena that uses generational index as key.

Type Parameters

  • T

  • I extends number = number

Hierarchy

  • SyncMapBatchAdapter<I, T>
    • GenerationalArena

Implements

Constructors

  • Type Parameters

    • T

    • I extends number = number

    Returns GenerationalArena<T, I>

Properties

data: T[] = []
ids: IdGenerator<I> = ...

Accessors

Methods

  • Parameters

    • callback: ((value, key, self) => void)
        • (value, key, self): void
        • Parameters

          Returns void

    • Optional thisArg: unknown

    Returns void

Generated using TypeDoc