Skip to content
PACKAGES

toProcess()

Creates a to process.

import { toProcess } from "@graphrefly/ts/adapters";
function toProcess(
graph: Graph,
source: Node<T>,
commandOf: ProcessCommandOf<T>,
opts: OutboundAdapterOptions = {},
): OutboundBundle<T, ProcessResult>
ParameterTypeDescription
graphGraphGraph that owns the created nodes or projector.
sourceNode<T>Source node that provides graph-visible input.
commandOfProcessCommandOf<T>command of value used by the helper.
optsOutboundAdapterOptionsOptions that configure the helper.

The to process result.

import { toProcess } from "@graphrefly/ts/adapters";

packages/ts/src/adapters/environment-outbound.ts