MCPcopy Index your code
hub / github.com/coder/coder / doSearch

Function doSearch

site/src/components/MultiSelectCombobox/MultiSelectCombobox.tsx:330–335  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

328 /** async search */
329
330 const doSearch = async () => {
331 setIsLoading(true);
332 const res = await onSearch?.(debouncedSearchTerm);
333 setOptions(transitionToGroupOption(res || [], groupBy));
334 setIsLoading(false);
335 };
336
337 const exec = async () => {
338 if (!onSearch || !open) return;

Callers 1

execFunction · 0.85

Calls 1

transitionToGroupOptionFunction · 0.85

Tested by

no test coverage detected