zaaack / keyv-file

File storage adapter for Keyv, using json to serialize data.
MIT License
69 stars 10 forks source link

fix(ROLAND-006): review updates simplify namespace and itterator #22

Closed broekema41 closed 2 months ago

broekema41 commented 2 months ago

The team here did testing on a actual project implementation resulting in a bugfix on the iterator and removing double namepace entry's written into the files.

js iterator usage:

for await (const [key, value] of this.keyv.iterator()) { console.log(key, value); };

const myIterator = this.keyv.iterator(); console.log(await myIterator.next()); console.log(await myIterator.next());

thank you Roland