Updated on 2026-08-14

This commit is contained in:
Tangem 2025-07-18 15:27:34 +04:00
parent 3bd0f8d01a
commit 6373b5a8a3
4 changed files with 65 additions and 18 deletions

View file

@ -152,4 +152,10 @@ sealed class Lce<out E : Any, out C : Any> {
return this
}
fun onContent(action: (content: C) -> Unit): Lce<E, C> {
if (this is Content) action(this.content)
return this
}
}