-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from sdc-ad/features/end_of_transaction_event
Emit event when reaching end of event stream transaction
- Loading branch information
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
src/AppCoreNet.EventStore.Abstractions/EventTransactionCommittingEvent.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
namespace AppCoreNet.EventStore | ||
{ | ||
/// <summary> | ||
/// An event which is emitted before the transaction processing the event queue is committed. | ||
/// This allows listeners to ensure any buffered work is completed before the transaction is committed. | ||
/// </summary> | ||
[EventType(nameof(EventTransactionCommittingEvent))] | ||
public class EventTransactionCommittingEvent | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters