0.3.2 • Published 1 year ago
@aradzie/retry v0.3.2
Retry (API Doc)
A library for retrying failed I/O operations.
Example:
import { retry, fixedDelay } from "@aradzie/retry";
class MyService {
@retry({
// Fail after three attempts.
retryLimit: 3,
// Fail if attempts take more than three seconds.
timeLimit: 3000,
// Delay for 100 milliseconds between attempts.
delayer: fixedDelay(100),
})
async makeNetworkRequest(): Promise<void> {
// The @retry(...) annotation will call this method
// as long as it throws exceptions, then returns
// the last successful result.
}
}
0.3.2
1 year ago
0.3.0
2 years ago
0.3.1
2 years ago
0.2.0
3 years ago
0.1.0
3 years ago
0.0.3-alpha.0
4 years ago
0.0.2-alpha.7
4 years ago
0.0.2-alpha.6
4 years ago
0.0.2-alpha.5
4 years ago
0.0.2-alpha.4
4 years ago
0.0.2-alpha.3
4 years ago
0.0.2-alpha.2
4 years ago
0.0.2-alpha.1
4 years ago
0.0.2-alpha.0
4 years ago