Getting Queued Jobs response Laravel 5.2
<p>currently I have the following set up, a route that is calling a function in my controller that is in turn queuing a job.</p>

<p>//My Route</p>

<p><code>Route::get('/testJob', 'Controller@testJob');</code></p>

<p>//My Controller</p>

<pre><code>public function testJob()
{
    $job = (new testJob())-&gt;delay(5);
    $this-&gt;dispatch($job);
}
</code></pre>

<p>//My job </p>

<pre><code>public function handle()
{   
    require 'testAPICall.php';
    // echo $response;
    return $response;
}
</code></pre>

<p>//testAPICall.php</p>

<pre><code>$response = 'this is the response';
</code></pre>

<p>//Queue After</p>

<pre><code>Queue::after(function (JobProcessed $event) {
    echo var_dump($event-&gt;data);
});
</code></pre>

<p>What I would like to be able to do, is access the response returned by the job in Queue::after, or alternatively, pass a callback into the queue to be execute after the job, again with access to the response from the job.</p>

<p>Is this something that is possible with Laravel Queues, and if so how would I go about this?</p>

<p>Cheers, Jack.</p>