Package-level declarations

Types

Link copied to clipboard
interface CoreExtension

Describes an extension module that can be registered with the SDK core.

Link copied to clipboard
sealed class Result<out R>

Represents an asynchronous operation that can be in one of four states: loading, success, error, or empty.

Properties

Link copied to clipboard
val <T> Result<T>.data: T?

Extracts the data from a Result.Success, or returns null for all other states.

Functions

Link copied to clipboard
fun <T, R> Result<T>.map(block: (T) -> Result<R>): Result<R>

Transforms a successful result using block, propagating Result.Loading, Result.Empty, and Result.Error unchanged.