Skip to main content

HeldSearchCall

Handle for a request held with FakeSearchProvider. For a reverse call, resolve(results) yields the first result, or null when the list is empty.

This is a type alias exported by @mapcairn/core, checked against version 0.2.0.

Signature​

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

type HeldSearchCall = HeldCall<readonly SearchResult[]>;

See also​

Source: packages/core/src/fakes/FakeSearchProvider.ts:38