Y
Hacker News
new
|
ask
|
show
|
jobs
by
jonny_eh
3051 days ago
Exactly. If for some reason my promise is immediately fulfilled (e.g. the result was previously memoized), I don't want to provide an alternate codepath to handle the result.