Skip to content

Commit

Permalink
Fix background example
Browse files Browse the repository at this point in the history
  • Loading branch information
kicken committed Nov 14, 2015
1 parent 61a2397 commit 1a654b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Jobs can be submitted to the workers using the Client class and either the submi

$client = new \Kicken\Gearman\Client('127.0.0.1:4730');
$job = $client->submitBackgroundJob('rot13', 'Foobar');
echo $job->getJobHandle();
echo $job;

A background job will not be able to provide any data back to the client that submitted the job. The only information that can be obtained from a background job is status by using the getJobStatus function.

Expand Down

0 comments on commit 1a654b8

Please sign in to comment.