Bluenix aedaa59afe
Add support for using promises in Cursor methods (#2554)
* Add similar promise variables to read() and close() as seen in query()

* Add testing for promise specific usage

* Simplify tests as no real callbacks are involved

Removes usage of `done()` since we can end the test when we exit the function

Co-Authored-By: Charmander <~@charmander.me>

* Switch to let over var

Co-authored-by: Charmander <~@charmander.me>
2021-07-27 09:40:32 -05:00
..
2021-04-13 11:02:40 -05:00
2021-04-13 11:02:40 -05:00
2021-04-13 11:02:40 -05:00
2021-04-13 11:02:40 -05:00