Tornado
Tornado copied to clipboard
Creates an adapter Tornado -> React\LoopInterface
See React\LoopInterface. Will improve interoperability possibilities. May require some new features, like promise cancellation, or signal handling.
Promise cancellation isn't required for a loop adapter, as promises and the event loop are entirely separated in ReactPHP.
@kelunik You're absolutely right 😄
By design, Tornado doesn't separate these 2 concepts, maybe it confused me a bit while writing this… Or maybe it was to manager cancelTimer
in a unified way in Tornado 🤔
Anyway, we need to cancellable promises for an edge case in promiseRace
: we want to keep the first settled promise and cancel others… It's in the TODO list 😉