UNPKG

@aws-lambda-powertools/batch

Version:

The batch processing package for the Powertools for AWS Lambda (TypeScript) library.

21 lines 858 B
import '@aws/lambda-invoke-store'; /** * Manages storage of SQS FIFO processor state with automatic context detection. * * This class abstracts the storage mechanism for SQS FIFO processing state, * automatically choosing between InvokeStore (when in Lambda context) and * fallback instance variables (when outside Lambda context). The decision is * made at runtime on every method call to support Lambda's concurrent execution * isolation. */ declare class SqsFifoProcessorStore { #private; getCurrentGroupId(): string | undefined; setCurrentGroupId(groupId: string | undefined): void; addFailedGroupId(groupId: string): void; hasFailedGroupId(groupId: string): boolean; getFailedGroupIds(): Set<string>; clearFailedGroupIds(): void; } export { SqsFifoProcessorStore }; //# sourceMappingURL=SqsFifoProcessorStore.d.ts.map