问题 I do a service that run an heavy task, this service is call in a Controller. To avoid a too long page loading, I want return the HTTP Response and run the heavy task after. I've read we can use kernel.terminate event to do it, but I don't understand how to use it. For the moment I try to do a Listener on KernelEvent:TERMINATE, but I don't know how to filter, for the Listener only execute the job on the good page... Is it possible to add a function to execute on when the Event is trigger ?