Hacker News new | comments | show | ask | jobs | submit login

it offers some elegance, here's a timeout function blogpost.

http://hyegar.com/2016/03/22/simple-timeouts/

In it the timeout function only takes one arg for its timeout wrapped function, so how do we use functions with more than 1 arg? Via currying




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: