Remix clone Hacker News
new
|
show
|
ask
|
jobs
Github
user:
neallindsay
created:
2014-02-20
karma:
616
about:
const lockify = f => { let lock = Promise.resolve() return (...args) => { const result = lock.then(() => f(...args)) lock = result.catch(() => {}) return result.then(v => v) } }
submissions
comments
favorites