Package-level declarations

Core language primitives: CSLazyVal/CSLazyVar, CSVariable, atomics, results, tuples, and the CSLeakCanary facade wired by the renetik-android-core-leakcanary module.

Types

Link copied to clipboard
typealias ArgArgFun<Arg1, Arg2> = (Arg1, Arg2) -> Unit
Link copied to clipboard
typealias ArgFun<Arg> = (Arg) -> Unit
Link copied to clipboard
typealias ArgReturnFun<Arg, Return> = (Arg) -> Return
Link copied to clipboard
data class CSAction(val title: String, val onClick: () -> Unit)
Link copied to clipboard
interface CSArgFunc<Arg> : Function1<Arg, Unit>
Link copied to clipboard
Link copied to clipboard
interface CSCondition
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface CSFunc
Link copied to clipboard
object CSGuard
Link copied to clipboard
interface CSHasCancel
Link copied to clipboard
interface CSHasIcon
Link copied to clipboard
interface CSHasId
Link copied to clipboard
interface CSHasIndex
Link copied to clipboard
interface CSHasReload
Link copied to clipboard
interface CSHasTitle
Link copied to clipboard
object CSLang
Link copied to clipboard
data class CSLayoutRes(@LayoutRes val id: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface CSListContainer<T>
Link copied to clipboard
class CSPropertyValidator<T>(val property: CSVariable<T>, val validate: (T) -> Boolean) : CSValidator
Link copied to clipboard
open class CSSealedClass
Link copied to clipboard
interface CSSize
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class CSTitleValue(val title: String, val value: Int) : CSHasTitle, CSValue<Int>
Link copied to clipboard
interface CSValidator
Link copied to clipboard
class CSValidatorImplementation(val function: () -> Boolean?) : CSValidator
Link copied to clipboard
typealias Fun = () -> Unit
Link copied to clipboard
typealias ReturnFun<Return> = () -> Return
Link copied to clipboard
typealias SusArgFun<Arg> = suspend (Arg) -> Unit
Link copied to clipboard
typealias SusFun = suspend () -> Unit

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
inline fun <E : Throwable> catch(block: () -> Unit): Result<Unit>
Link copied to clipboard
inline fun catchAll(block: () -> Unit): Result<Unit>
Link copied to clipboard
inline fun catchAllError(tryFunction: () -> Unit)
Link copied to clipboard
inline fun <ReturnType> catchAllErrorReturn(onExceptionReturn: ReturnType, tryFunction: () -> ReturnType): ReturnType
Link copied to clipboard
inline fun <E : Throwable> catchAllExceptWarn(block: () -> Unit): Result<Unit>
Link copied to clipboard
inline fun catchAllWarn(tryFunction: () -> Unit)
Link copied to clipboard
inline fun <ReturnType> catchAllWarnReturn(onExceptionReturn: ReturnType, tryFunction: () -> ReturnType): ReturnType
Link copied to clipboard
inline fun <ReturnType> catchAllWarnReturnNull(message: String? = null, tryFunction: () -> ReturnType): ReturnType?
Link copied to clipboard
inline fun <ExceptionType : Throwable> catchError(tryFunction: () -> Unit)
Link copied to clipboard
inline fun <ExceptionType : Throwable, ReturnType> catchErrorReturn(onExceptionReturn: ReturnType, tryFunction: () -> ReturnType): ReturnType
inline fun <ReturnType, ExceptionType : Throwable> catchErrorReturn(tryFunction: () -> ReturnType, onExceptionReturn: (ExceptionType) -> ReturnType): ReturnType
Link copied to clipboard
Link copied to clipboard
inline fun <ReturnType> catchReturn(tryFunction: () -> ReturnType, onExceptionReturn: (Throwable) -> ReturnType): ReturnType
Link copied to clipboard
inline fun <ReturnType> catchReturnNull(tryFunction: () -> ReturnType): ReturnType?
Link copied to clipboard
inline fun <E : Throwable> catchWarn(block: () -> Unit): Result<Unit>
Link copied to clipboard
inline fun <ReturnType, ExceptionType : Throwable> catchWarnReturn(onExceptionReturn: ReturnType, tryFunction: () -> ReturnType): ReturnType
inline fun <ExceptionType : Throwable, ReturnType> catchWarnReturn(message: String? = null, tryFunction: () -> ReturnType, onExceptionReturn: (ExceptionType) -> ReturnType): ReturnType
Link copied to clipboard
Link copied to clipboard
fun CSValidator(function: () -> Boolean?): CSValidator
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
operator fun <T> ArgFun<T>?.invoke(type: T)
Link copied to clipboard
Link copied to clipboard
inline fun <T : Any, R> synchronized(lock: T, block: (T) -> R): R
Link copied to clipboard
fun <ReturnType> tryAndFinally(tryFunction: () -> ReturnType, finally: () -> Unit): ReturnType