Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow user to attach callback in Symfony process that gets fired when status changes #21624

Closed
nicholasnet opened this issue Feb 15, 2017 · 2 comments

Comments

@nicholasnet
Copy link

nicholasnet commented Feb 15, 2017

Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? yes
Symfony version 3.3

Currently Symfony process allows user to attach callbacks to listen for output but it does not allow user to attach callback that gets fired during status change like completion, success, abort, error etc for async one. Right now only way to monitor the status is to check constantly in a loop which is bit inconvenient in my opinion.

@nicholasnet nicholasnet changed the title Allow to attach callback for Symfony process on event (success, error, complete, abort) Allow user to attach callback in Symfony process that gets fired when status changes Feb 15, 2017
@sstok
Copy link
Contributor

sstok commented Apr 12, 2017

This is only possible when you monitor the activity as PHP as no native promise/async functionality. So unless this comes available (yes there are libraries, but these are still very young) it's not really possible at the moment.

@fabpot
Copy link
Member

fabpot commented Oct 11, 2018

Closing as that's not something we can easily support in Symfony.

@fabpot fabpot closed this as completed Oct 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants