LookupClientOptionsOptions for lookupClient — opt-in soft pick when the directory is ambiguous and placement advice is absent or stale.
modelslookupClient
Source src/Hyperlink.ts:23093 lines
export type type LookupClientOptions = {
readonly pick?: LookupClientPick
}
Options for
lookupClient
— opt-in soft pick when the directory is ambiguous
and placement advice is absent or stale.
LookupClientOptions = {
readonly pick?: LookupClientPickpick?: type LookupClientPick =
| "first"
| ((
rows: ReadonlyArray<LookupDirectoryEntry>
) => LookupDirectoryEntry)
Soft pick when
lookupClient
sees N>1 directory rows (D4) and no live
Lookup.Advice
prefer matches a row. "first" = rows[0]; custom sync
fn returns the dial target.
LookupClientPick;
};
Referenced by 2 symbols