title: Swift async/await - Ignore "Consider using asynchronous alternative function" warning
body: <p>I have some objective c networking code with completion handler for which swift has automatically generated an async version. I'm calling it at the end of an <code>async</code> function, but in this case I don't need to wait for it. I'm just passing <code>nil</code> for the completion handler. The compiler is giving me a warning:</p>
  <p><code>Consider using asynchronous alternative function</code></p>
  <pre><code>Task {
  
    let foo = await bar() // Yes, using async/await here
  
    // Objc method. Completion is nil because I don't care about the result.
    noNeedToWaitForThis(completion: nil) // WARNING: Consider using asynchronous alternative function
  
  }
  </code></pre>
  <p>Is there a swifty way to avoid this error? Or is the only option wrapping it in another function?</p>
  <p>So far the best I've found is to just use a closure:</p>
  <pre><code>Task {
    ...
    {
      noNeedToWaitForThis(completion: nil) // No more warning
    }()
  }
  </code></pre>
  <p>This is in Xcode 13.1.</p>
  <p>[EDIT] Example objective c method with callback:</p>
  <pre><code>typedef void (^ResponseBlock)(BOOL success, id _Nullable object);
  - (void)noNeedToWaitForThisWithCompletion:(nullable ResponseBlock)completion;
  </code></pre>