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

Projects
None yet
4 participants
@nicholasnet

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 from Allow to attach callback for Symfony process on event (success, error, complete, abort) to Allow user to attach callback in Symfony process that gets fired when status changes Feb 15, 2017

@sstok

This comment has been minimized.

Show comment
Hide comment
@sstok

sstok Apr 12, 2017

Contributor

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.

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

This comment has been minimized.

Show comment
Hide comment
@fabpot

fabpot Oct 11, 2018

Member

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

Member

fabpot commented Oct 11, 2018

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

@fabpot fabpot closed this Oct 11, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment