Graphorin API reference v0.8.0
Graphorin API reference / @graphorin/proactive / / outcomeToDelivery
Function: outcomeToDelivery()
ts
function outcomeToDelivery(outcome, identity): ProactiveDeliveryPayload;Defined in: packages/proactive/src/ladder.ts:59
Route an outcome onto a channel delivery (C3): 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
| Parameter | Type |
|---|---|
outcome | ProactiveOutcome |
identity | ProactiveDeliveryIdentity |