This commit is contained in:
Benoit Marty
2024-05-01 19:35:16 +02:00
parent 6e14d0f244
commit 08765691d2

View File

@@ -51,7 +51,7 @@ suspend inline fun <reified N : Node, NavTarget : Any> ParentNode<NavTarget>.wai
}
/**
* Wait for a child to be attached to the parent node, only using the NavTarget
* Wait for a child to be attached to the parent node, only using the NavTarget.
*/
suspend inline fun <NavTarget : Any> ParentNode<NavTarget>.waitForNavTargetAttached(crossinline predicate: (NavTarget) -> Boolean) =
suspendCancellableCoroutine { continuation ->