dolejska-daniel/riot-api

Help With Async

Closed this issue · 3 comments

Hello , Im Trying to learn about async requests
I've tried to follow your exemple but I'm getting only NULL results when using var_dump.
Here's the code

image

Obs: I erased my api key to take the screenshot

Am I doing something Wrong ? What Should I "Echo" ?

There really seems to be something wrong with it... I will check it out as soon as I can, but I currently don't have any spare time 😞.

Ok Thanks for your reply!

Hey @ntzzz, good news - I've fixed the implementation of asynchronous requests. Turns out there has been an implementation error when resolving request promises.

Should be working on 53075a2 :)