Hi Joachim.
I’d check out @Liam120347 's HomeStation project for a look in at how you can get live sensor data to a webpage: HomeStation - A Pico W powered webpage dashboard - #4 by Liam120347
While async tasks would be the best practice way of handling a project like this the Pico W is super fast and will happily serve up new sensor data on repeat
PS: All of the sensor refreshing happens from the webpage side, pushing the new content into a dedicated div
Liam