async-interop / event-loop

An event loop interface for interoperability in PHP.
MIT License
170 stars 9 forks source link

Put Loop::execute() $callback into Driver::defer() #67

Closed bwoebi closed 8 years ago

bwoebi commented 8 years ago

This also ensures that potential throwing in the callback will be handled inside a potential error handler instead of immediately falling through.

P.s.: Test changes are necessary as it now is in defer()... Thus need to execute the defers...