Thenable CuriousQuery
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.