Skip to main content

SearchOptions

Options for a search or a reverse lookup.

This is an interface exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import type { SearchOptions } from "@mapcairn/core";

interface SearchOptions

Properties​

bias​

readonly bias?: Bounds;

Favour results inside this box. Optional: an adapter sends it to its service, so a host passes it only when its privacy text says so.

limit​

readonly limit?: number;

The most results to return.

signal​

readonly signal?: AbortSignal;

Cancels the request. It then rejects with a PortAbortError.

See also​

Source: packages/core/src/ports/search.ts:20