constantBackoff()
Creates a constant backoff.
Import
Section titled “Import”import { constantBackoff } from "@graphrefly/ts/orchestration";Signature
Section titled “Signature”function constantBackoff(delayMs: number): BackoffPolicyParameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
delayMs | number | delay MS value used by the helper. |
Returns
Section titled “Returns”The constant backoff result.
Example
Section titled “Example”import { constantBackoff } from "@graphrefly/ts/orchestration";Source
Section titled “Source”packages/ts/src/orchestration/resilience-bundles.ts