You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/resources/archetype-resources/DEVELOPER_GUIDE.md
+41-1Lines changed: 41 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ Add the following dependency to your `pom.xml`:
26
26
<dependency>
27
27
<groupId>org.tinystruct</groupId>
28
28
<artifactId>tinystruct</artifactId>
29
-
<version>${tinystructVersion}</version>
29
+
<version>1.7.17</version>
30
30
</dependency>
31
31
```
32
32
@@ -185,6 +185,46 @@ The dispatcher provides several utility commands:
185
185
### Custom Exception Handling
186
186
Extending `ApplicationException` or `ApplicationRuntimeException` allows for structured error reporting across both CLI and Web modes.
187
187
188
+
### Event Mechanism
189
+
Tinystruct supports an event-driven architecture to decouple components. To improve performance in asynchronous scenarios, event handlers can offload heavy processing to separate threads.
190
+
191
+
1.**Define an Event**: Implement `org.tinystruct.system.Event<T>`.
0 commit comments