No examples of Swift Async call in documentation. Could use some help.

In the documentation you provide the asynchronous method signatures for swift but no examples on how to use it.

How can I change the method below to an async function? It’s currently a synchronous function using the contacts example from the docs.

func findPlayersByPosition(position: String) -> [Player] {
        
        let whereClause = "position = '\(position)'"
        let dataQuery = BackendlessDataQuery()
        dataQuery.whereClause = whereClause
        
        var error: Fault?


        let players = Backendless.sharedInstance().data.of(Player.ofClass()).find(dataQuery, fault: &error)
        
        if let players = players {
            if error == nil {
                print("Contacts have been found: \(players.data)")             }
            else {
                print("Server reported an error: \(error)")
            }
        }
        else {
            print("nil players object")
        }
        
        var playerDB = players.data as! [Player]
        
        return playerDB
}

Hi!
here is an example:

let whereClause = "position = '\(position)'"
        let dataQuery = BackendlessDataQuery()
        dataQuery.whereClause = whereClause


        Backendless.sharedInstance().data.of(Player.ofClass()).find(
            dataQuery,
            response: { (result: BackendlessCollection!) -> Void in
                let players = result.getCurrentPage()
                for obj in players {
                    print("\(obj)")
                }
            },
            error: { (fault: Fault!) -> Void in
                print("fServer reported an error: \(fault)")
        })

Documentation will be updated soon.
Regards,
Kate.