Closed titanism closed 1 month ago
Also if an error is thrown inside, it doesn't seem to exit the iterator.
Did you check to see if it functions properly on the upstream? If not, this issue should be opened on the BS3 repo instead.
It doesn't, in both cases if you have a promise that rejects inside of a transaction, then the rejected error doesn't get caught and it keeps iterating.
I see. Then I urge you to open an issue there (I see that you already did) to get proper support for this. Glad you caught this. Closing the issue here.
seemed to be a bug in my code, closing
Curious as to the support of async/await, e.g.
await foo()
inside aniterate()
call?https://github.com/m4heshd/better-sqlite3-multiple-ciphers/blob/master/docs/api.md#iteratebindparameters---iterator