Autocomplete
fun <T> Autocomplete(service: AutocompleteService<T>, options: AutocompleteOptions = AutocompleteOptions(), dispatcher: CoroutineDispatcher = Dispatchers.Default): Autocomplete<T>
Creates a new Autocomplete instance.
Return
A new Autocomplete instance.
Parameters
T
The type of the autocomplete results.
service
The autocomplete service to use.
options
The options for the autocomplete.
dispatcher
The coroutine dispatcher to use.