Package-level declarations
Types
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the value from this Right
or the given argument if this is a Left
. Right(12).getOrElse(17) RETURNS 12 and Left(12).getOrElse(17) RETURNS 17
Returns the value from this Right
or the result of fn
if this is a Left
. Right(12).getOrElse{ it + 3 } RETURNS 12 and Left(12).getOrElse{ it + 3 } RETURNS 15
Link copied to clipboard
Link copied to clipboard
fun intervalFlow(periodMs: Long, initialDelayMs: Long = 0, stopWhen: () -> Boolean = { false }): <Error class: unknown class>
Link copied to clipboard
fun <L, R, T> <Error class: unknown class><Either<L, R>>.mapLeft(block: suspend (L) -> T): <Error class: unknown class><Either<T, R>>
Left-biased map() FP convention which means that Right is assumed to be the default case to operate on. If it is Right, operations like map, flatMap, ... return the Right value unchanged.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard