Resolves Issue #182 by removing set.join_next() from the tokio::select! statement and waiting for tasks to finish outside of the loop. Also does some error handling in the run function in case we encounter an error after starting data collection threads.
Resolves Issue #182 by removing
set.join_next()
from thetokio::select!
statement and waiting for tasks to finish outside of the loop. Also does some error handling in therun
function in case we encounter an error after starting data collection threads.