GraphReFlyTS

API Reference

depTerminal()

Terminal metadata for one dep: false = none, true = COMPLETE, otherwise ERROR payload.

Import

import { depTerminal } from "@graphrefly/ts/core";

Signature

function depTerminal(
	ctx: Ctx,
	depIndex: number,
): unknown

Parameters

ParameterTypeDescription
ctxCtxNode execution context supplied by the dispatcher.
depIndexnumberdep index value used by the helper.

Returns

The dep terminal result.

Example

import { depTerminal } from "@graphrefly/ts/core";

Source

packages/ts/src/ctx/types.ts