title: How to call async/await method without using GlobalScope.launch{} in Kotlin
body: <p>I am trying to use async/await in kotlin to make calls to an api. I already created the method and it works! but now I don't know how to call it in an activity or in a viewmodel WITHOUT using GlobalScope.launch {} ?? There is another way ?</p>
  <pre><code>class Service{
      var client: OkHttpClient = OkHttpClient();
       fun getRequest(sUrl: String) =GlobalScope.async {
          Thread.sleep(2000)
          var result: String? = null
          try {
              // Create URL
              val url = URL(sUrl)
              // Build request
              val request = Request.Builder().url(url).build()
              // Execute request
              val response = client.newCall(request).execute()
              result = response.body?.string()
          }
          catch(err:Error) {
              print(&quot;Error when executing get request: &quot;+err.localizedMessage)
          }
          return@async result
      }
  }
  </code></pre>