Package-level declarations

Types

Link copied to clipboard
interface ThreadHelper

Abstraction of our interactions with handlers/threads for isolation purposes

Link copied to clipboard
class WeakReferenceDelegate<T>(initialValue: T? = null) : ReadWriteProperty<Any?, T?>

Functions

Link copied to clipboard
inline fun <T : Any> Any?.takeIf(): T?

Extension function to cast an object to a specific type if it matches the generic type. If the object is null or does not match the type, it returns null.

Link copied to clipboard

Extension of takeIf to exclude with a generic type parameter.