Skip to content

Commit e35c334

Browse files
committed
Updated comment.
1 parent b79bc83 commit e35c334

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/outbox-core/lib/accumulators.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ export interface OutboxAccumulator<SupportedEvents extends CommonEventDefinition
2222
addFailure(outboxEntry: OutboxEntry<SupportedEvents[number]>): Promise<void>
2323

2424
/**
25-
* It's meant to be used by OutboxStorage::flush() to get all entries that should be persisted as successful ones.
25+
* Returns all entries that should be persisted as successful ones.
2626
*/
2727
getEntries(): Promise<OutboxEntry<SupportedEvents[number]>[]>
2828

2929
/**
30-
* Also used by OutboxStorage::flush() to get all entries that should be persisted as failed ones. Such entries will be retried + their retryCount will be incremented.
30+
* Returns all entries that should be persisted as failed ones. Such entries will be retried + their retryCount will be incremented.
3131
*/
3232
getFailedEntries(): Promise<OutboxEntry<SupportedEvents[number]>[]>
3333

0 commit comments

Comments
 (0)