Skip to content

Function: toCallSettings()

toCallSettings(base, timeoutMs, cacheKey): WebSearchExecutionSettings

Bind one of the named defaults to a single call: the configured network timeout and the cache key for this request.

AppKit only installs the cache interceptor when a non-empty cacheKey is present, so every cached call has to name its own key parts. The per-user half of the key is added by execute() from the active execution context, which is what keeps an OBO result from leaking across identities.

WebSearchExecutionSettings

number

readonly (string | number)[]

WebSearchExecutionSettings