currently it's defined in the service main but it should instead be a component defined as a struct with fields for the state and a poll method that runs a single iteration. this also means eliminating the labelled switch and replacing it with a loop + functions.
if this comes after my repo refactor, this should be implemented as a component in the components folder.
currently it's defined in the service main but it should instead be a component defined as a struct with fields for the state and a poll method that runs a single iteration. this also means eliminating the labelled switch and replacing it with a loop + functions.
if this comes after my repo refactor, this should be implemented as a component in the components folder.