Effect CommunityEC
Effect Communityβ€’3y agoβ€’
24 replies
Stephen Bluck

Looking for a Utility to Convert Effect to Promise in TypeScript

I am looking for something similar to
evolve
https://effect-ts.github.io/data/modules/Struct.ts.html#evolve and was wondering if anyone knows of a util that does what I am after. I need to convert a:
Record<string, Effect<never, never, unknown>>

To a:
Record<string, unknown>

The keys are not known up front which is why I don't think I can use
evolve
. Cheers!
Was this page helpful?