title: Completion handler confusion
body: <p>i'm currently using SwiftyStoreKit for my in app purchases and the function i'm using to try and get the information such as price and product description has a completion handler and I'm new to using completion handlers and read about the @escape if I want to return a string or let a value escape. My function code is as follows:</p>
  
  <pre><code>func getPrice(product: IAPProducts, completion: @escaping (String) -&gt; Void) {
      var priceString = ""
      SwiftyStoreKit.retrieveProductsInfo(["Grant.Marco.1000Coins"]) { result in
          if let product = result.retrievedProducts.first {
              priceString = product.localizedPrice!
              print("Product: \(product.localizedDescription), price: \(priceString)")
          }
          else if let invalidProductId = result.invalidProductIDs.first {
              print("Invalid product identifier: \(invalidProductId)")
          }
          else {
              print("Error: \(String(describing: result.error))")
          }
      }
      completion(priceString)
  }
  </code></pre>
  
  <p>The problem I have now is when I want to display that price in my label text it asks for completion information </p>
  
  <p><strong>What do I put of for it?</strong></p>
  
  <p><a href="https://i.stack.imgur.com/4Hr9Y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4Hr9Y.png" alt="enter image description here"></a></p>