php - Difference between PECL GearmanWorker::addFunction() and GearmanWorker::register() -
so, i'm assuming addfunction()
registers "worker function name" w/ server , tells worker callable registered name refers to.
register()
, on other hand, seems register function name w/ job servers.
guess i'm not understanding why behind ever having worker register function w/ server has no callable for.
also, need call register()
addfunction()
, or assumption above correct addfunction()
register w/ server well?
Comments
Post a Comment