awaitStopAsync

suspend fun awaitStopAsync(): Process(source)

Delays the current coroutine until the Stdio.Pipe stops producing output.

Does nothing if:

NOTE: For Jvm & Android the kotlinx.coroutines.core dependency is needed.

Return

Process for chaining calls

See also

io.matthewnelson.kmp.process.Blocking.Waiter.awaitStop