Package dev. kord. core. cache
Types
Caching Gateway
Link copied to clipboard
class CachingGateway(cache: DataCache, gateway: Gateway, dispatcher: CoroutineDispatcher) : DataCache, Gateway, CoroutineScope
Content copied to clipboard
A bridge between DataCache and Gateway that automatically empties cache on disconnect.
Data Cache View
Link copied to clipboard
A DataCacheView that limits removal of cached instances to those inserted in this cache, and not the underlying cache.
Kord Cache Builder
Link copied to clipboard
View Keys
Link copied to clipboard
Functions
create View
Link copied to clipboard
Creates a DataCacheView for this view, only removing elements that were added directly to this instance.
id Eq
Link copied to clipboard
fun <T : Any> QueryBuilder<T>.idEq(property: KProperty1<T, Snowflake?>, value: Snowflake?)
Content copied to clipboard
fun <T : Any> QueryBuilder<T>.idEq(property: KProperty1<T, OptionalSnowflake?>, value: Snowflake?)
Content copied to clipboard
fun <T : Any> QueryBuilder<T>.idEq(property: KProperty1<T, OptionalSnowflake>, value: Snowflake?)
Content copied to clipboard
fun <T : Any> QueryBuilder<T>.idEq(property: KProperty1<T, Optional<String>>, value: String?)
Content copied to clipboard