API Reference
workItemEffectPlanProjector()
Creates a work item effect plan projector.
Import
import { workItemEffectPlanProjector } from "@graphrefly/ts/solutions/work-item/scheduling";
Signature
function workItemEffectPlanProjector(
graph: Graph,
opts: WorkItemEffectPlanProjectorOptions<TInput>,
): WorkItemEffectPlanProjectorBundle<TInput>
Parameters
| Parameter | Type | Description |
|---|---|---|
graph | Graph | Graph that owns the created nodes or projector. |
opts | WorkItemEffectPlanProjectorOptions<TInput> | Options that configure the helper. |
Returns
A node bundle that emits the projected records.
Example
import { workItemEffectPlanProjector } from "@graphrefly/ts/solutions/work-item/scheduling";
Source
packages/ts/src/solutions/work-item/scheduling-effect-plan.ts