Skip to main content

interface GenSource<E>

Generic source interface that represents a read-only view over block entries and collision entry sets used by block builders.

Type parameters

NameDescription
Ethe entry type contained in the source

Properties

entries

undocumented

Definition

entries: readonly E[] | null;

entrySets

undocumented

Definition

entrySets: readonly GenBlockBuilderEntry<E>[] | null;

Methods

forEach

undocumented

Definition

forEach(f: (entry: E, index: number, halt: () => void) => void, options?: {
    state?: TraverseState;
  }): void;

Parameters

NameTypeDescription
f(entry: E, index: number, halt: () => void) => void
options{
    state?: TraverseState;
  }