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