interface Callee : Parcelable
A conference Callee. |
|
sealed class Either<out V, out E : Throwable>
An asynchronous result. |
|
data class Group : Callee
A conference Group. |
|
sealed class Participant : Callee
A conference Participant. |
fun <V, U, E : Throwable> Either<V, E>.flatMap(f: (V) -> Either<U, E>): Either<U, E>
Converts the Either value according to f function. |
|
fun <V, E : Throwable, X : Throwable> Either<V, E>.flatMapError(f: (E) -> Either<V, X>): Either<V, X>
Converts the Either error according to f function. |
|
fun <V, U, E : Throwable> Either<V, E>.map(f: (V) -> U): Either<U, E>
Converts the Either value according to f function. |
|
fun <V, E : Throwable, X : Throwable> Either<V, E>.mapError(f: (E) -> X): Either<V, X>
Converts the Either error according to f function. |
|
fun <V, E : Throwable> Either<V, E>.onFailure(f: (E) -> Unit): Unit
Calls the function f with a specific error when Either is failure. |
|
fun <V, E : Throwable> Either<V, E>.onSuccess(f: (V) -> Unit): Unit
Calls the function f with a specific value when Either is successful. |