Skip to content

Thenable CuriousQuery

Compare
Choose a tag to compare
@myw myw released this 22 Sep 23:57
· 41 commits to v2 since this release

Non-breaking changes

Version 2.3.0 adds functionality for appending .then and .catch callbacks directly to CuriousQuery objects. These callbacks are then attached to the promise returned by the curious client when the query is performed.

This functionality makes it possible to encapsulate queries with post-processing as individual objects, without executing the query in the process.