You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we could chain async method calls on promised objects, we could eliminate intermediate awaits and just have a single await on the result: await Promise.resolve('hello').toUpperCase().replace(/$/, ', world!')
My proposal is to use ES6 Proxy so that any unknown method call is a promise to perform it on the promised object.
The text was updated successfully, but these errors were encountered:
Development on bluebird has virtually stopped. We will still fix security issues but Petka is pretty much gone from here and social (for now) and releases are tricky (I would have to go through npm contacts or Petka's wife which I met).
If we could chain async method calls on promised objects, we could eliminate intermediate awaits and just have a single await on the result:
await Promise.resolve('hello').toUpperCase().replace(/$/, ', world!')
My proposal is to use ES6 Proxy so that any unknown method call is a promise to perform it on the promised object.
The text was updated successfully, but these errors were encountered: