Skip to content
PACKAGES

retryStatusBundle()

Creates a retry status bundle.

import { retryStatusBundle } from "@graphrefly/ts/orchestration";
function retryStatusBundle(
graph: Graph,
events: Node<ResilienceEvent>,
opts: { name?: string; policy?: RetryPolicy } = {},
): RetryStatusBundle
ParameterTypeDescription
graphGraphGraph that owns the created nodes or projector.
eventsNode<ResilienceEvent>Event node or event collection to consume.
opts{ name?: string; policy?: RetryPolicy }Options that configure the helper.

A bundle of graph-visible nodes for the recipe.

import { retryStatusBundle } from "@graphrefly/ts/orchestration";

packages/ts/src/orchestration/resilience-bundles.ts