Blogs

EMAIL: info@example.com

Matt Glaman: Using ReactPHP to run Drupal tasks

Using ReactPHP to run Drupal tasks
Saturday 6, July 2019
mglaman

ReactPHP is an event-driven non-blocking PHP framework that allows to you work in a long-running script through an event loop. At its core, ReactPHP provides an event loop and utilities to trigger events at specific intervals and run your code. This is different than normal PHP script execution which of a short lifecycle and per individual requests. 

ReactPHP has been used to build web server applications, web socket servers and more. But, what if we used ReactPHP to execute operations and tasks on a Drupal application?