Closed Ketasaja closed 1 month ago
Another attempt of #124. Emit is now better when using YieldType::Future or YieldType::Yield, and no worse when not.
YieldType::Future
YieldType::Yield
Assumes Future type exists in async_lib when async_type = "future".
Future
async_lib
async_type = "future"
There's no type when using Promises without TypeScript, this can probably change once the new solver releases, but it would be breaking.
Promise
Another attempt of #124. Emit is now better when using
YieldType::Future
orYieldType::Yield
, and no worse when not.Assumes
Future
type exists inasync_lib
whenasync_type = "future"
.There's no type when using
Promise
s without TypeScript, this can probably change once the new solver releases, but it would be breaking.