Clone this wiki locally
Backoff is a small library for handling retries of unreliable operations in Node.js.
The library is composed of three layers built on top of each other, all of which are accessible by clients. The bottommost layer provides the basic backoff algorithms. The middle layer provides an event-based object oriented interface to control retry operations. Finally, the topmost layer provides a functional API that lets client call a function in a retry handler.