Open anywhichway opened 1 year ago
Good catch, thank you.
You are welcome. As I recall removeSync currently has a similar pattern in the write.js file.
Thanks for your prompt responses.
@kriszyp See repository https://github.com/anywhichway/lmdb-issues
putSync is occasionally returning a Promise rather than a regular value. A review of the source shows the below at line 709 in write.js, so unless some other core code manages to force Promise resolution before returning, I can see how this would happen.
Is this expected? In the meantime, I am avoiding the use of
putSync
, which is relatively inconsequential.