-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Would be awesome to have a parameter in execute() so it stops on first match (and returns a single Node). IMO this feature is commonly supported for query APIs and useful on searches that takes time and only one (or the first one) node is needed. (DOM querySelectorAll() vs querySelector()). Think on somebody querying lots of files in a large project, if only one node is needed then this could save lots of time.
Do you think this would be a viable feature for this project API ?
A couple of nice to haves related to this:
- adapters being able to stop the search
- API for pagination or at least result size limit.
Thanks!, great library
Metadata
Metadata
Assignees
Labels
No labels