docs: add diagrams for event aggregator, event-based asynchronous, event queue, execute around, extension objects

This commit is contained in:
Ilkka Seppälä
2025-04-06 18:36:32 +03:00
parent 30d13083ae
commit aef4b37c9a
10 changed files with 20 additions and 8 deletions
+4
View File
@@ -35,6 +35,10 @@ Wikipedia says
> Message queues (also known as event queues) implement an asynchronous communication pattern between two or more processes/threads whereby the sending and receiving party do not need to interact with the queue at the same time.
Sequence diagram
![Event Queue sequence diagram](./etc/event-queue-sequence-diagram.png)
## Programmatic Example of Event Queue Pattern in Java
This example demonstrates an application using an event queue system to handle audio playback asynchronously.
Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB