AD
Size: a a a
AD
QH
inline fun <R> Folk.fold(
ifGuy: (Guy) -> R,
ifGal: (Gal) -> R
): R = when (this) {
is Guy -> ifGuy(this)
is Gal -> ifGal(this)
}
AD
inline fun <R> Folk.fold(
ifGuy: (Guy) -> R,
ifGal: (Gal) -> R
): R = when (this) {
is Guy -> ifGuy(this)
is Gal -> ifGal(this)
}
when
под функцией?QH
when
под функцией?AD
IK
IK
IK
QH
QH
IK
IK
IK
suspend fun participantListCommand(): ParticipantListResponse {
val resp = client.post<HttpResponse>(url=someUrl){body = someXml}
XmlMapper().readValue(resp.readText(), ...) <-- Inappropriate blocking method call
}
IK
BP
BP
BP
IK
com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.11.0
. Спасибо за пояснения!IK
BP