▲ What is Promise.try, and Why Does it Matter? at cryto.net▼3 up and 0 down, posted by sbruchmann 3110 days ago 3 comments
naholyr 3109 days ago. link 1 point ▲ ▼Promise.try = (p => p.then.bind(p))(Promise.resolve()) Does the trick raster and lighter than proposed impl btw
sylvainpv 3109 days ago. link 0 point ▲ ▼People are confused because the name is confusing and the bluebird API is bloated. We could just write Promise.resolve().then instead of Promise.try