So it seems I can get sort of the same by using ru...
# getting-started
s
So it seems I can get sort of the same by using run and destructuring:
Copy code
val (team1Name, team1Country) = run {
    val team1 = getTeam(it.team1Id)
    team1.teamName to team1.country
}