Skip to main content
Glama
by Ritesh-sudo
cache.d.ts764 B
import type { CompiledQuery, InternalOptions } from "../types.js"; /** * Some selectors such as `:contains` and (non-relative) `:has` will only be * able to match elements if their parents match the selector (as they contain * a subset of the elements that the parent contains). * * This function wraps the given `matches` function in a function that caches * the results of the parent elements, so that the `matches` function only * needs to be called once for each subtree. */ export declare function cacheParentResults<Node, ElementNode extends Node>(next: CompiledQuery<ElementNode>, { adapter, cacheResults }: InternalOptions<Node, ElementNode>, matches: (elem: ElementNode) => boolean): CompiledQuery<ElementNode>; //# sourceMappingURL=cache.d.ts.map

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ritesh-sudo/MCPJobSearch'

If you have feedback or need assistance with the MCP directory API, please join our Discord server