Skip to content

Commit b514b23

Browse files
Merge pull request #84 from oliver-oloughlin/patch/typo-fix
Patch/typo fix
2 parents c7315f5 + b6dfe3d commit b514b23

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# kvdex
22

3-
`kvdex` is a high level abstraction layer for Deno KV with zero third-party
3+
`kvdex` is a high-level abstraction layer for Deno KV with zero third-party
44
dependencies. It's purpose is to enhance the experience of using Deno's KV store
55
through additional features such as indexing, strongly typed collections, and
66
cron jobs, while maintaining as much of the native functionality as possible,
@@ -669,7 +669,7 @@ db.cron(() => console.log("Hello World!"))
669669
db.cron(() => Math.random(), {
670670
startDelay: 10_000,
671671
interval: 5_000,
672-
exit: ({ count, result }) => count >= 10 || result < 0.25,
672+
exit: ({ count, result }) => count >= 9 || result < 0.25,
673673
})
674674
```
675675

src/kvdex.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ export class KvDex<const T extends Schema<SchemaDefinition>> {
301301
* db.cron(() => Math.random(), {
302302
* startDelay: 10_000,
303303
* interval: 5_000,
304-
* exit: ({ count, result }) => count >= 10 || result < 0.25,
304+
* exit: ({ count, result }) => count >= 9 || result < 0.25,
305305
* })
306306
* ```
307307
*

0 commit comments

Comments
 (0)