Passing a timeout value of 0 will run the loop for a single iteration. If a dummy MQTTGetCurrentTimeFunc_t was passed to MQTT_Init, then this timeout MUST be set to 0.
Parameters
[in]
pContext
Initialized and connected MQTT context.
[in]
timeoutMs
Minimum time in milliseconds that the receive loop will run, unless an error occurs.