MCPcopy Create free account
hub / github.com/DTStack/molecule / onSearch

Method onSearch

src/services/workbench/searchService.ts:67–67  ·  view source on GitHub ↗

* Listen to the event about going to search result via values or config changed

(
        callback: (
            value: string,
            replaceValue: string,
            config: {
                isRegex: boolean;
                isCaseSensitive: boolean;
                isWholeWords: boolean;
                preserveCase: boolean;
            }
        ) => void
    )

Source from the content-addressed store, hash-verified

65 * Listen to the event about going to search result via values or config changed
66 */
67 onSearch(
68 callback: (
69 value: string,
70 replaceValue: string,

Callers 3

search.test.tsFile · 0.65
activateFunction · 0.65

Implementers 1

SearchServicesrc/services/workbench/searchService.t

Calls

no outgoing calls

Tested by

no test coverage detected