This PR updates the functionality of poll(). Users are now informed that they should call it repeatedly until it returns Ok(None). Functionality has changed such that poll() will process as many MQTT control packets as possible until a publish message is received.
This PR updates the functionality of
poll()
. Users are now informed that they should call it repeatedly until it returnsOk(None)
. Functionality has changed such thatpoll()
will process as many MQTT control packets as possible until apublish
message is received.This PR fixes #102