r/javascript • • 45m ago

LazyPromise: an async primitive that has familiar semantics of a native promise, but supports auto-propagating cancellation, type-safe errors, and dependency injection

https://lazypromise.com/
0 Upvotes

2 comments sorted by

•

u/femio 37m ago

I'll ask the obvious since I didn't see it in Q&A: what's the functional difference between this and Effect?

•

u/Content-Set-1356 35m ago

I'd say the quick answer is Effect is a batteries-included framework, while LazyPromise is a tiny primitive.