I have an application that validates server connection, if it works the application is happy and can safely exit. It does the check by calling suspending function connectToServer. But the connection is slow and the app needs to wait until the function returns before it can report the success. Can you help to fix the app?
Fix the call of connectToServer by wrapping it with proper coroutine builder.
This task uses dependencies that may not be available in your local IDE. As a result, you may see compilation errors or unresolved references when running the code locally. This does not affect solution validation when you submit your solution to Hyperskill.