Open Tantalon opened 1 year ago
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).
Your suggestion can be a library though?
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.