note 118303 added to gearmanclient.addtaskbackground

From: Date: Thu, 12 Nov 2015 10:47:59 +0000
Subject: note 118303 added to gearmanclient.addtaskbackground
Groups: php.notes 
Request: Send a blank email to php-notes+get-204140@lists.php.net to get a copy of this message
This method seems only useful when you doesn't need to know something about the worker, when you can let runTasks() finishes its code and destroy the GearmanClient object without a problem. If you need to get data from worker via callbacks, forget it after runTasks() finishes. You have to block your execution in the GearmanClient "main loop", so it can call the callbacks. It seems that runTasks() is that "main loop". ---- Server IP: 72.52.91.14 Probable Submitter: 187.39.123.135 ---- Manual Page -- http://php.net/manual/en/gearmanclient.addtaskbackground.php Edit -- https://master.php.net/note/edit/118303 Del: integrated -- https://master.php.net/note/delete/118303/integrated Del: useless -- https://master.php.net/note/delete/118303/useless Del: bad code -- https://master.php.net/note/delete/118303/bad+code Del: spam -- https://master.php.net/note/delete/118303/spam Del: non-english -- https://master.php.net/note/delete/118303/non-english Del: in docs -- https://master.php.net/note/delete/118303/in+docs Del: other reasons-- https://master.php.net/note/delete/118303 Reject -- https://master.php.net/note/reject/118303 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#204140) next »