* An even more advanced method that can be used to get existing query instances from the cache * that partially match a query key. If no queries match, an empty array is returned. * * This is not typically needed for most applications, but can come in handy when needing more * informatio
(filters: QueryFilters<any> = {})
| 348 | * ``` |
| 349 | */ |
| 350 | findAll(filters: QueryFilters<any> = {}): Array<Query> { |
| 351 | const queries = this.getAll() |
| 352 | return Object.keys(filters).length > 0 |
| 353 | ? queries.filter((query) => matchQuery(filters, query)) |
| 354 | : queries |
| 355 | } |
| 356 | |
| 357 | /** |
| 358 | * Notifies every cache listener of an event, in one batch. |
no test coverage detected