Commit 366d8d2
fix: replace Effect.runSync with Effect.runPromise in main entry point
🔥 CRITICAL FIX:
- Effect.runSync blocks event loop (WRONG)
- Changed to Effect.runPromise (CORRECT)
- Aligns with Effect.TS best practices
Effect.TS docs state:
"Asynchronous execution should be the default"
"Reserve runSync for edge cases"
16 more Effect.runSync instances remain to be fixed.
Verified: Build passes ✅
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 2372072 commit 366d8d2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
0 commit comments