REQUEST_QUEUEING_ENABLED

An optimization that decouples the request from the request handling. This will make each request finish faster from the caller's perspective by queueing the requests to be handled asap, rather than handling them while the caller waits. This isn't that useful when using the default PROFILE_STORAGE_MODE=IN_MEMORY since the request handling is pretty fast already. It was added to make PROFILE_STORAGE_MODE=SQLITE faster since there is af air bit of IO for each request. You probably don't need to change this.

Defaults to false

Functions

Link copied to clipboard
fun get(): String?
Link copied to clipboard
fun getOrDefault(): String
Link copied to clipboard
fun require(fallback: String = default ?: ""): String
Link copied to clipboard
fun requireIf(condition: Boolean, fallback: String = default ?: ""): String

Properties

Link copied to clipboard
val default: String? = null

The default value.

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int