A generator-based cooperative multitasking kernel for ReactPHP.