chansek
channel.offer
trySend
isSuccess
isFailure
isClosed
suspend fun fetch(): Result<List<User>> { collectFlow { if (...)
offer(Result.Success(listOf(...))) else offer(Result.Error(Exception()) } }
trySend(Result.Success...).isSuccess
trySend(Result.Error...).isSuccess
trySend...isFailure
trySend...isCancel
Erik
offer
send
A modern programming language that makes developers happier.