Open badmansan opened 5 years ago
User can write $mqtt->loop(2); and loop end after two received messages. Infinity loop available as $mqtt->loop();
$mqtt->loop(2);
$mqtt->loop();
This is useful for writing tests, for example.
User can write
$mqtt->loop(2);
and loop end after two received messages. Infinity loop available as$mqtt->loop();
This is useful for writing tests, for example.