Package-level declarations
Functions
Link copied to clipboard
fun <T> Autocomplete(httpService: HttpAutocompleteService<T>, options: AutocompleteOptions = AutocompleteOptions(), dispatcher: CoroutineDispatcher = Dispatchers.Default): Autocomplete<T>
fun <T> Autocomplete(endpoint: SearchEndpoint<T>, options: AutocompleteOptions = AutocompleteOptions(), json: Json = HttpApiEndpoint.json(), httpClient: HttpClient = HttpApiEndpoint.httpClient(json), dispatcher: CoroutineDispatcher = Dispatchers.Default): Autocomplete<T>
Creates a new Autocomplete instance that uses a HTTP service to provide autocomplete suggestions.