Skip to content

Graphorin API reference v0.15.1


Graphorin API reference / @graphorin/proactive / / outcomeToDelivery

Function: outcomeToDelivery()

ts
function outcomeToDelivery(outcome, identity): ProactiveDeliveryPayload;

Defined in: packages/proactive/src/ladder.ts:59

Stable

Route an outcome onto a channel delivery: notify / act are plain text; question / review carry the HITL question block whose ref rides into messenger callback-data. The gateway outbound-sanitizes at its own boundary - this function only shapes.

Parameters

ParameterType
outcomeProactiveOutcome
identityProactiveDeliveryIdentity

Returns

ProactiveDeliveryPayload