Skip to main content

findWaitingOn()

findWaitingOn(graph, nodeId): ExecutionNode[]

Defined in: graph-query.ts:141

Find what a node is waiting on. Returns nodes connected via waited_on edges where the given nodeId is the from side.

Parameters

ParameterTypeDescription
graphExecutionGraphThe execution graph to search.
nodeIdstringThe node that is doing the waiting.

Returns

ExecutionNode[]

Array of nodes that are being waited on.