Skip to content

Commit

Permalink
docs: updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronshaf committed Nov 26, 2024
1 parent 6f2be0c commit b636a3e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ const totalChunks = await cache.count();

// Removes expired items, busted items, and limits chunks
// Runs at interval
cache.cleanup();
await cache.cleanup();

// Clears all items from cache
cache.clear();
await cache.clear();

// Destroy the cache instance
cache.destroy();
await cache.destroy();
```

## Features
Expand Down Expand Up @@ -135,6 +135,7 @@ flowchart TD

- [IndexedDB](https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API)
- [Web Workers](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API)
- [SharedWorker](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker)
- [MessageChannel](https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel)
- [MessagePort](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort)
- [Transferable objects](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Transferable_objects)
Expand Down

0 comments on commit b636a3e

Please sign in to comment.