GraphReFlyTS

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

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.

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