You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
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.
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.
The text was updated successfully, but these errors were encountered: