This commit is contained in:
Benoit Marty 2024-05-01 19:35:16 +02:00
parent 17913878b1
commit f807d578fa

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 ->