Make Wrest Evented
Closed this issue · 3 comments
jasim commented
Callbacks getting Evented would be awesome.
Discuss.
kaiwren commented
Having callback run async would certainly be useful - at it's simplest, the callbacks just run on a separate thread if you add :async => true
to the callback options.
By 'evented,' do you mean using EventMachine? Callbacks are implicitly invoked when events occur, like a response with a code of 200, so they are already evented; it's just that they are invoked synchronously.
kaiwren commented
After some discussion, we've decided to implement this as a new HTTP backend using em-http