Echo JS 0.11.0

<~>
kirilloid 2679 days ago. link parent 1 point
As a matter of fact, retry it's not very hard to write in pure promises:

    const retry = (fn, times) =>
      times >= 0
      ? fn().catch(() => retry(fn, times-1))
      : fn();

Replies