GraphReFlyTS

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

ParameterTypeDescription
ctxCtxNode execution context supplied by the dispatcher.
depIndexnumberdep 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