© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Confusion about the need for both `runSync` and `runPromise` in Effect - Effect Community
EC
Effect Community
•
3y ago
•
2 replies
Marian-c-t
Confusion about the need for both `runSync` and `runPromise` in Effect
Hello
I
'm just starting up with Effect
, reading the docs and stuff
.
I
'm at the point
runSync
runSync
and
runPromise
runPromise
are introduced
.
They
're explained pretty well
, but I
'm still confused about the need of both of them
. What would be the advantage of using
runSync
runSync
when you can just run
runPromise
runPromise
and await on the result
?
Thank you any insight on this
.
Effect Community
Join
Production-grade applications in TypeScript.
6,221
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
runSync vs runPromise
EC
Effect Community / 🚀-beginners
2y ago
Locating runPromise/runSync in Effect.fn Definition for Execution
EC
Effect Community / 🚀-beginners
6mo ago
Handling Errors in Effect.runPromise
EC
Effect Community / 🚀-beginners
16mo ago
Error in runPromise with Effect
EC
Effect Community / 🚀-beginners
3y ago