Wrapping API Client Promises with Effect in Typescript

Let's say I have a generated API client with hundreds of endpoints that we generate using OpenAPI docs. Everything is just methods that return promises. I was just going to wrap this with an effect.service but then all of the methods would not necessarily return effects. I guess I could always run them with effect.trypromise, but is there any other way that is recommended for wrapping services like these? Or maybe this is the recommended way, not sure.
Was this page helpful?