File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -55,13 +55,13 @@ const totalChunks = await cache.count();
5555
5656// Removes expired items, busted items, and limits chunks
5757// Runs at interval
58- cache .cleanup ();
58+ await cache .cleanup ();
5959
6060// Clears all items from cache
61- cache .clear ();
61+ await cache .clear ();
6262
6363// Destroy the cache instance
64- cache .destroy ();
64+ await cache .destroy ();
6565```
6666
6767## Features
@@ -135,6 +135,7 @@ flowchart TD
135135
136136- [ IndexedDB] ( https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API )
137137- [ Web Workers] ( https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API )
138+ - [ SharedWorker] ( https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker )
138139 - [ MessageChannel] ( https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel )
139140 - [ MessagePort] ( https://developer.mozilla.org/en-US/docs/Web/API/MessagePort )
140141 - [ Transferable objects] ( https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Transferable_objects )
You can’t perform that action at this time.
0 commit comments