Package-level declarations

Types

Link copied to clipboard
class AntPatternNamespace(pattern: String) : Namespace

An implementation of Namespace that matches subjects based on Ant style path patterns.

Link copied to clipboard
class AntRegexPathMatcher(val regex: Regex, val posixExtendedPattern: String, val pathVariables: Set<String>, val exact: Boolean)

Represents an Ant-style path parsed into a Regex and associated metadata.

Link copied to clipboard
value class KLogger(logger: Logger)

A wrapper around Logger providing the ability to lazily build log lines using Kotlin native string templating.

Link copied to clipboard

A non-reentrant suspending implementation of a Read-Write lock.

Link copied to clipboard
sealed interface SimpleDataSourceConfig
Link copied to clipboard

Functions

Link copied to clipboard
inline fun <T : Any> getLogger(): KLogger
Link copied to clipboard
fun <K, V> PersistentMap<K, V>.serializable(): PersistentMap<K, V>
fun <E> PersistentSet<E>.serializable(): PersistentSet<E>
Link copied to clipboard
suspend fun <T> withTimeout(duration: Duration, block: suspend CoroutineScope.() -> T): T
suspend fun <T> withTimeout(millis: Long, block: suspend CoroutineScope.() -> T): T
suspend fun <T> withTimeout(duration: Duration, block: suspend CoroutineScope.() -> T): T

Use this instead of kotlinx.coroutines.withTimeout as that throws TimeoutCancellationException which extends CancellationException and can result in unexpected behaviour