Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Playground Wisdom: Threads Beat Async/Await. Parent comment
Not quite. It gets ambiguous whether to wrap return or not. Example:
function foo(): Promise<number> { if (...) { return Promise.resolve(5) } ... }
async function foo(): Promise<number> { if (...) { return 5 } ... }
There are no comments on this comment yet.
Not quite. It gets ambiguous whether to wrap return or not. Example:
but async version is: Although you can bake into the language one way or another.