Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Mmoreram
RSQueueBundle
Services
Consumer
PHP Class Mmoreram\RSQueueBundle\Services\Consumer
This class
Inheritance:
extends
Mmoreram\RSQueueBundle\Services\Abstracts\AbstractService
Afficher le fichier
Open project: mmoreram/rsqueue-bundle
Class Usage Examples
Méthodes publiques
Méthode
Description
consume
(
Mixed
$queueAlias
,
integer
$timeout
) :
Mixed
Retrieve queue value, with a defined timeout
Method Details
consume()
public
méthode
This method accepts a single queue alias or an array with alias Every new element will be popped from one of defined queue Also, new Consumer event is triggered everytime a new element is popped
public
consume
(
Mixed
$queueAlias
,
integer
$timeout
) :
Mixed
$queueAlias
Mixed
Alias of queue to consume from ( Can be an array of alias )
$timeout
integer
Timeout. By default, 0
Résultat
Mixed
payload unserialized