API Reference
retryStatusBundle()
Creates a retry status bundle.
Import
import { retryStatusBundle } from "@graphrefly/ts/orchestration";
Signature
function retryStatusBundle(
graph: Graph,
events: Node<ResilienceEvent>,
opts: { name?: string; policy?: RetryPolicy } = {},
): RetryStatusBundle
Parameters
| Parameter | Type | Description |
|---|---|---|
graph | Graph | Graph that owns the created nodes or projector. |
events | Node<ResilienceEvent> | Event node or event collection to consume. |
opts | { name?: string; policy?: RetryPolicy } | Options that configure the helper. |
Returns
A bundle of graph-visible nodes for the recipe.
Example
import { retryStatusBundle } from "@graphrefly/ts/orchestration";
Source
packages/ts/src/orchestration/resilience-bundles.ts