Commit cb28dcc
committed
fix(examples): add sleep between AuditLogDemo emits to drain handlers
The async event handlers race with the main feature set. On macOS
CI the UserCreated handler didn't get CPU time before the process
moved on, causing a missing-line failure. Adding 100ms sleeps
between emits gives each handler time to execute and log.1 parent 13e7926 commit cb28dcc
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
| |||
0 commit comments