mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-29 20:23:07 +00:00
docs: updates to several patterns
This commit is contained in:
@@ -141,10 +141,6 @@ In this snippet, when a `SyncEvent` is started, it runs on the main thread, bloc
|
||||
|
||||
These are the key parts of the Event-Based Asynchronous design pattern as implemented in this code. The pattern allows tasks to be executed in the background, notifying the main program via events when completed, thereby enhancing system efficiency and responsiveness without blocking ongoing operations.
|
||||
|
||||
## Class diagram
|
||||
|
||||

|
||||
|
||||
## Applicability
|
||||
|
||||
* When multiple tasks can be processed in parallel and independently.
|
||||
|
||||
Reference in New Issue
Block a user