cache
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
open fun cache(cacheMode: AutocompleteCacheMode, block: AutocompleteCacheInfoBuilder.() -> Unit = {})(source)
Deprecated
Only had one mode ever, that always has been and will still be the default
Replace with
cache(block)
Content copied to clipboard
Sets up autocomplete caching.
By default, this will cache results by key, which 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