wait

suspend fun wait(id: String, condition: String? = null): Result<ContainerWaitResponse, ErrorResponse>

Wait for a container

Block until a container stops, then returns the exit code.