API Reference
rateLimitBundle()
Creates a rate limit bundle.
Import
import { rateLimitBundle } from "@graphrefly/ts/orchestration";
Signature
function rateLimitBundle(
graph: Graph,
source: Node<T>,
opts: RateLimitOptions,
): RateLimitBundle<T>
Parameters
| Parameter | Type | Description |
|---|---|---|
graph | Graph | Graph that owns the created nodes or projector. |
source | Node<T> | Source node that provides graph-visible input. |
opts | RateLimitOptions | Options that configure the helper. |
Returns
A bundle of graph-visible nodes for the recipe.
Example
import { rateLimitBundle } from "@graphrefly/ts/orchestration";
Source
packages/ts/src/orchestration/resilience-bundles.ts