create Text Search Actions
Returns an object similar to textSearch.actions, but rather than updating the TextSearchState of textSearch, its updates are delivered into the provided updateState lambda. This method is useful when you want to manage the state of the search results yourself, or maybe just want to perform a background search without updating the UI. You can still forward your results to the UI by calling textSearch.actions.setExternalState