Hacker News new | ask | show | jobs
by eyko 3664 days ago
You're returning a promise. At that point you've already assumed that something else is going to expect a promise, and a promise can either succeed or fail.