PHP - Manual: GearmanJob::sendWarning
2024-12-22
(PECL gearman >= 0.6.0)
GearmanJob::sendWarning — Send a warning
$warning
): boolSends a warning for this job while it is running.
warning
A warning message.
成功时返回 true
, 或者在失败时返回 false
。
官方地址:https://www.php.net/manual/en/gearmanjob.sendwarning.php