cache

abstract fun cache(block: AutocompleteCacheInfoBuilder.() -> Unit = {})(source)

Sets up autocomplete caching.

The cache key is the input of the focused option, however, you can use composite keys if you want to cache based off multiple option values, see AutocompleteCacheInfoBuilder.compositeKeys for more details.

See also

@CacheAutocomplete