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
They're explained pretty well, but I'm still confused about the need of both of them. What would be the advantage of using
Thank you any insight on this.
I'm just starting up with Effect, reading the docs and stuff.
I'm at the point
runSync and 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 when you can just run runPromise and await on the result?Thank you any insight on this.
