SeamResult

@Serializable
sealed class SeamResult<T>

Success or failure result.

Inheritors

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
inline fun <R> andThen(transform: (T) -> SeamResult<R>): SeamResult<R>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getOrNull(): T?
Link copied to clipboard
fun getOrThrow(): T
Link copied to clipboard
inline fun <R> map(transform: (T) -> R): SeamResult<R>
Link copied to clipboard
fun orElse(other: T): T