Skip to content

Commit

Permalink
reason:fix the documents (#265)
Browse files Browse the repository at this point in the history
Signed-off-by: Kazunari Kuroda <[email protected]>
Co-authored-by: Kazunari Kuroda <[email protected]>
  • Loading branch information
Kazunari001 and Kazunari001 authored Oct 17, 2024
1 parent c89fe3b commit cab9e22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Layer-DataSvc.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This logic of getting, setting and clearing the cache is included within the pri

To support the goals of an [Event-driven architecture](https://en.wikipedia.org/wiki/Event-driven_architecture) an event publish can be included.

An [`EventData`](https://github.com/Avanade/CoreEx/blob/main/src/CoreEx/Events/EventData.cs) publish is invoked where the eventing infrastructure has been included (configured) during [code-generation](./tools/Beef.CodeGen.Core). The [`IEventPublisher`](https://github.com/Avanade/CoreEx/blob/main/src/CoreEx/Events/IEventPublisher.cs) implementation is responsible for orchestraing the publishing and sending of the event message(s).
An [`EventData`](https://github.com/Avanade/CoreEx/blob/main/src/CoreEx/Events/EventData.cs) publish is invoked where the eventing infrastructure has been included (configured) during [code-generation](../tools/Beef.CodeGen.Core). The [`IEventPublisher`](https://github.com/Avanade/CoreEx/blob/main/src/CoreEx/Events/IEventPublisher.cs) implementation is responsible for orchestraing the publishing and sending of the event message(s).

_Note:_ This is _always_ performed directly after the primary operation logic such that the _event_ is only published where successful. This is may not be transactional (depends on implementation) so if the event publish fails there may be no automatic rollback capabilitity. The implementor will need to decide the corrective action for this type of failure; i.e. consider the transaction outbox pattern.

Expand Down

0 comments on commit cab9e22

Please sign in to comment.