Skip to content

Commit b27f651

Browse files
committed
doc: update doc comments for failureHandler
1 parent f9beef9 commit b27f651

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/batch/src/SqsFifoPartialProcessorAsync.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,9 @@ class SqsFifoPartialProcessorAsync extends BatchProcessor {
5858

5959
/**
6060
* Handles a failure for a given record.
61-
* Adds the current group ID to the set of failed group IDs if `skipGroupOnError` is true.
61+
*
6262
* @param record - The record that failed.
6363
* @param exception - The error that occurred.
64-
* @returns The failure response.
6564
*/
6665
public failureHandler(
6766
record: EventSourceDataClassTypes,

packages/batch/src/SqsFifoProcessingUtils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ class SqsFifoProcessingUtils {
7373

7474
/**
7575
* Handles failure for current group
76+
* Adds the current group ID to the set of failed group IDs if `skipGroupOnError` is true.
7677
*
7778
* @param options - The options for the batch processing.
7879
*/

0 commit comments

Comments
 (0)