title: Swift 3 - How can i define callback function as parameter
body: <p>want to create global http request function/extension with Alamofire it's like</p>
  
  <pre><code>function Request(requestPath:String, requestParams:Any, onComplate:Void) {
   // stuff here, when async request complate i want to call onComplate function
   // like C# method.Invoke() or func.Invoke()
  }
  </code></pre>