AB
Size: a a a
AB
AB
AB
SI
AB
AB
suspend fun doSomething(param1, param2) {
return suspendCancellableCoroutine { continuation ->
rabbit.sendRequest(
{ response ->
continuation.resume("abc" /* возвращаемое значение */)
},
{ throwable ->
continuation.resumeWithException(throwable)
}
)
}
}
AB
AB
val result = doSomething(param1, param2)
print(result) // "abc"
SI
AD
someLongValue < 0 // OK
someLongValue == 0 // NOPE! Only Long allowed!
AM
ch
ДГ
AV
ДГ
АЗ
BP
ДГ
АЗ
BP