Keyer

fun interface Keyer<T : Any>

An interface to convert data of type T into a string key for the memory cache.

Functions

Link copied to clipboard
abstract fun key(data: T, options: Options): String?

Convert data into a string key. Return 'null' if this keyer cannot convert data.