Closed JoshPaulie closed 6 years ago
Dim client As New RiotClient client.Settings.ApiKey = apikeyref Dim r As Models.Summoner = Await client.GetSummonerBySummonerNameAsync("jaowsh")
Dim client As New RiotClient
client.Settings.ApiKey = apikeyref
Dim r As Models.Summoner = Await client.GetSummonerBySummonerNameAsync("jaowsh")
How is this not working? (The apikey is a dim at top.) I'm getting error with "await" and "client"
GOT IT. Needed the sub to be an async sub..silly me
Great! I'm glad you were able to resolve it.
Dim client As New RiotClient
client.Settings.ApiKey = apikeyref
Dim r As Models.Summoner = Await client.GetSummonerBySummonerNameAsync("jaowsh")
How is this not working? (The apikey is a dim at top.) I'm getting error with "await" and "client"