Skip to content

Commit cbc6a06

Browse files
committed
chore: mark sync methods as deprecated
1 parent 02e1fbe commit cbc6a06

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

packages/batch/src/BatchProcessorSync.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ import type { BaseRecord, FailureResponse, SuccessResponse } from './types.js';
8080
* ```
8181
*
8282
* @param eventType The type of event to process (SQS, Kinesis, DynamoDB)
83+
* @deprecated Use {@link BasePartialBatchProcessor} instead, this class is deprecated and will be removed in the next major version.
8384
*/
8485
class BatchProcessorSync extends BasePartialBatchProcessor {
8586
/**

packages/batch/src/processPartialResponseSync.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import type {
77
} from './types.js';
88

99
/**
10+
* @deprecated Use {@link processPartialResponse} instead, this function is deprecated and will be removed in the next major version.
11+
*
1012
* Higher level function to process a batch of records synchronously
1113
* and handle partial failure cases.
1214
*

0 commit comments

Comments
 (0)