Y
Hacker News
new
|
ask
|
show
|
jobs
by
vmasto
3258 days ago
Please can you make the async version return a Promise. It's 2017 for cryin' out loud!
five.asPromised?
4 comments
Uberphallus
3258 days ago
Yes, please, it's 2017, nobody wants to block all I/O waiting for an int.
link
daw___
3258 days ago
There is a pending PR:
https://github.com/jackdcrawford/five/pull/321
link
JepZ
3258 days ago
And that require is so 2016... Today we use import:
import five from 'five'
link
BenoitEssiambre
3258 days ago
Supporting promises would maybe be one level too meta since they are a prime example of what this library is making fun of.
link