ZMQDevice::setTimerCallback
Почист и полокален преглед на PHP референцата, со задржана структура од PHP.net и подобра читливост за примери, секции и белешки.
ZMQDevice::setTimerCallback
Референца за `zmqdevice.settimercallback.php` со подобрена типографија и навигација.
ZMQDevice::setTimerCallback
(Нема достапни информации за верзијата, можеби е само во Git)
ZMQDevice::setTimerCallback — Поставете ја функциската повратна функција за тајмерот
= NULL
$cb_func, int $timeout, mixed $user_data = ?): ZMQDeviceSets the timer callback function. The timer callback will be invoked after timeout has passed. The difference between idle and timer callbacks are that idle callback is invoked only when the device is idle. The callback function signature is callback (mixed $user_data). Added in ZMQ extension version 1.1.0.
Параметри
cb_func- Callback function to invoke when the timer fires. Returning false or a value that evaluates to false from this function will cause the device to stop.
timeout- How often to invoke the timer callback in milliseconds. The timer callback is invoked periodically. The timeout value guarantees that there is at least this amount of milliseconds between invocations of the callback function.
user_data-
Дополнителни податоци за поминување на повратната функција.
Вратени вредности
При успех, овој метод го враќа тековниот објект.