Answer the question
In order to leave comments, you need to log in
Tell me the analogue of Node.JS EventEmitter for PHP 5.5
Looking for a Node.JS
equivalent of the EventEmitter module for PHP 5.5 (using a yield wrapper over libevent ). There is phpDaemon
using the old syntax , but it forces you to use awkward syntax with callback functions.
Since the introduction of yield in PHP 5.5, code can be written much prettier without callback.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question