Adding requests
await this.query.add(query, maxLvl)
await this.query.add(query, maxLvl)
Adding a new request (query) with the option to optionally specify the maximum level (maxLvl), similar to $tools.query.add
You can pass a hash with parameters as a request , which works similarly to Query Builder
Example:
this.query.add({
query: "http://site.com",
param1: "..",
...
});
Example of adding a request to a certain level:
this.query.add({
query: "http://site.com",
lvl: 5,
...
});