Using Effect with Typescript Promises
hey friends - new to effect here (but have used a few Future/effect management/monad libs from scala a lot.. especially cats)
Just going through some early proof of concept code for a new service and swapping it over to Effect from promise. I can't do
Please don't tell me to use setTimeout
(also have a question about testing in thread)
Just going through some early proof of concept code for a new service and swapping it over to Effect from promise. I can't do
Effect.promise(Promise.resolve(val)) - this seems like an obvious enough usecase that didn't seem to have an example in the docs or antoine's guide. Is there a way to lift any promise into effect?Please don't tell me to use setTimeout
(also have a question about testing in thread)
