Skip to content

Commit

Permalink
Bump version to 1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
khrj committed Feb 16, 2021
1 parent c66724d commit 1e8c3d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Abstraction for exponential and custom retry strategies for failed operations
```ts
import pRetried, {
AbortError,
} from "https://deno.land/x/p_retried@1.0.5/mod.ts"
} from "https://deno.land/x/p_retried@1.0.6/mod.ts"

async function run() {
const response = await fetch("https://sindresorhus.com/unicorn")
Expand All @@ -46,14 +46,14 @@ console.log(await pRetried(run, { retries: 5 }))

## API

See https://doc.deno.land/https/deno.land/x/p_retried@1.0.5/lib/mod.ts
See https://doc.deno.land/https/deno.land/x/p_retried@1.0.6/lib/mod.ts

## Tip

You can pass arguments to the function being retried by wrapping it in an inline arrow function:

```js
import pRetried from "https://deno.land/x/p_retried@1.0.5/mod.ts"
import pRetried from "https://deno.land/x/p_retried@1.0.6/mod.ts"

const run = async emoji => {
//
Expand Down

0 comments on commit 1e8c3d3

Please sign in to comment.