Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
dabble with coroutines
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-olaveide committed May 30, 2023
1 parent 935982f commit 8952b01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/no/nav/aap/api/oppslag/OppslagController.kt
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ class OppslagController(
log.trace("ASYNC start")
val a = async { arbeid.arbeidInfo() }
val k = async { konto.kontoInfo() }
awaitAll(a,k)
log.trace("ASYNC end")
val r = awaitAll(a,k)
log.trace("ASYNC end {}", r)
}
}
/* return runBlocking {
Expand Down

0 comments on commit 8952b01

Please sign in to comment.