search

abstract fun search(query: String)

Performs an autocomplete search with the given query.

Results will be emitted via searchState as they become available. Implementation should handle debouncing internally (recommended: 500ms).

If the query is blank or empty, the implementation should clear results and set isLoading to false.

Parameters

query

The search query text entered by the user