in reply to Re^3: AnyEvent::HTTPD -> Extra Callback after response?
in thread AnyEvent::HTTPD -> Extra Callback after response?

Wait is just an example of async. Instead of wait, I would be doing something such as, comms request to another server to fetch resources need to form the response. Basically I have a 'sync' function (Where I respond immediately) and in this example I am trying to make a async function, where I respond to the request later when I have the data available. I am going to dig into the code to see if I can figure out why it triggers twice, for now my 'fix' is to just to store a flag for each request instance so indicate I've already handled it
  • Comment on Re^4: AnyEvent::HTTPD -> Extra Callback after response?