depBatch()
Flattened DATA projection for event-counting operator bodies; null = no wave.
Import
Section titled “Import”import { depBatch } from "@graphrefly/ts/core";Signature
Section titled “Signature”function depBatch( ctx: Ctx, depIndex: number,): readonly unknown[] | nullParameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
ctx | Ctx | Node execution context supplied by the dispatcher. |
depIndex | number | dep index value used by the helper. |
Returns
Section titled “Returns”A readonly unknown[] | null value.
Example
Section titled “Example”import { depBatch } from "@graphrefly/ts/core";Source
Section titled “Source”packages/ts/src/ctx/types.ts