Hacker News new | ask | show | jobs
by DougBTX 4833 days ago
It looks like you're able to return one of those queues from a function and allow some other code to call .await(). Being able to return something is a useful feature of promises too, seems like there might be more overlap there.