Skip to content

Commit

Permalink
Merge pull request #1991 from GrzegorzBobryk/maintenance/simplify-all…
Browse files Browse the repository at this point in the history
…-to-none

[Maintenance] simplify `all` to `none`
  • Loading branch information
arnaudgiuliani authored Nov 15, 2024
2 parents 1ec7cfe + 93f1dc1 commit 4e678e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ suspend fun Koin.onKoinStarted(block: suspend (Koin) -> Unit) {
*/
@OptIn(KoinInternalApi::class)
fun Koin.isAllStartedJobsDone(): Boolean {
return coroutinesEngine.startJobs.all { !it.isActive }
return coroutinesEngine.startJobs.none { it.isActive }
}

0 comments on commit 4e678e7

Please sign in to comment.