@deliverr/serverless-offline-step-functions
Version:
Serverless Offline Plugin to Support Step Functions for Local Development
12 lines (11 loc) • 383 B
TypeScript
import { Context } from '../Context/Context';
import { TaskRetryRule } from './State';
export declare class Retriers {
private readonly _retriers;
private logger;
private constructor();
static create(taskRetryRules: TaskRetryRule[]): Retriers;
private getStatesErrorFrom;
private getRetrierBasedOn;
retry(fn: () => any, context: Context): Promise<any>;
}