© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Simplifying API with Overloaded `sync` and `promise` Methods - Effect Community
EC
Effect Community
•
3y ago
•
6 replies
Ricardo Valero
Simplifying API with Overloaded `sync` and `promise` Methods
Hi
!
First of all
, I
’m okay with our current API
. But I was wondering
, what if we simplified it by having just
sync
sync
and
promise
promise
and overloading them
, instead of having separate
try
try
and
tryPromise
tryPromise
methods
?
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
Gradual Adoption Made Easy with Overloaded Either Methods
EC
Effect Community / 🚀-effect
3y ago
Overloaded Methods in Effect.Tag Type Are Stripped; Seeking Solutions
EC
Effect Community / 🚀-effect
7mo ago
Simplifying Package Upgrades with pnpm
EC
Effect Community / 🚀-effect
2y ago
Simplifying Client Construction with Base URL and Default Headers
EC
Effect Community / 🚀-effect
2y ago