Relative Content

Tag Archive for symfonysymfony-messengermessage-handlerssymfony-eventdispatcher

Is it possible to listen to an Event dispatched from a MessageHandler (Symfony)

I have an application that executes docker containers in async mode using a messenger (DemoExecution). Hence, the user can launch an execution of the container without waiting its end. We need to know when the container has ended and delivered its results, so we can tell the user and also refresh the result output. So I’m trying (without success) to dispatch an event from a MessageHandler.