Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kaisukez committed Oct 31, 2021
1 parent c198031 commit 981197c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ async function main() {
setTimeout(async () => await cancel(), 1234)
})

await CancellationError.ignoreAsync(task(token))
await CancellationError.ignoreAsync(() => task(token))
}

;(async () => {
Expand Down

0 comments on commit 981197c

Please sign in to comment.