Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

callbacks don't seem to be called when http.request is called from inside a coroutine

edited October 2013 in Bugs Posts: 23

I've noticed that when I call http.request from inside a coroutine, the callbacks (i.e. successFunction or failFunction in the example below) don't get called:

http.request(url, successFunction, failFunction)

It seems to work fine when called from outside a coroutine (e.g. either directly or indirectly from the draw function of my main loop).

Has anyone else seen this?

Comments

  • BriarfoxBriarfox Mod
    Posts: 1,542

    Yeah I've noticed the same. I don't believe a coroutine works with the mechanics of http.request.

  • Posts: 23

    Ok glad I'm not the only one! It's not so difficult to work around luckily so no big deal, but it did confuse me for a while.

Sign In or Register to comment.