Skip to content

loop can be infinity or not#32

Open
badmansan wants to merge 1 commit intosskaje:masterfrom
badmansan:master
Open

loop can be infinity or not#32
badmansan wants to merge 1 commit intosskaje:masterfrom
badmansan:master

Conversation

@badmansan
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant