We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1113c91 commit 6225618Copy full SHA for 6225618
packages/batch/src/BatchProcessor.ts
@@ -139,6 +139,15 @@ class BatchProcessor extends BasePartialBatchProcessor {
139
);
140
}
141
142
+ /**
143
+ * Parse the record according to the schema passed.
144
+ *
145
+ * If the schema is not provided, it returns the record as is.
146
147
+ * @param record The record to be parsed
148
+ * @param eventType The type of event to process
149
+ * @param schema The StandardSchema to be used for parsing
150
+ */
151
public async parseRecord(
152
record: EventSourceDataClassTypes,
153
eventType: keyof typeof EventType,
0 commit comments