There is no guidance on how to handle either a missing or unknown state during polling is undefined. What should the platform do if the broker passes back {} or {"state": "garbage"} during polling? For now we are retrying until the polling interval is reached, but am not certain if that is the right behavior.
Who does this affect?
This affect platform authors
Do you have any proposed solutions?
Off the top of my head there are two options:
Continue polling until a defined state or polling interval reached
What is the problem?
There is no guidance on how to handle either a missing or unknown
state
during polling is undefined. What should the platform do if the broker passes back{}
or{"state": "garbage"}
during polling? For now we are retrying until the polling interval is reached, but am not certain if that is the right behavior.Who does this affect?
This affect platform authors
Do you have any proposed solutions?
Off the top of my head there are two options:
state
or polling interval reached