Skip to main content

Interface: Query<F>

browser.Query

Type parameters

NameType
Fextends (...args: any[]) => Promise<any>

Callable

Query

Query(...args): Promise<Awaited<ReturnType<F>>>

Execute the query on the server, returning a Promise of the return value.

Parameters

NameTypeDescription
...argsParameters<F>Arguments for the query.

Returns

Promise<Awaited<ReturnType<F>>>

The result of the query.