Code, not hand-waving
This is the actual shape of the runtime. The tasks are real.
void taskSensors(void* parameter);
void taskLed(void* parameter);
void taskMqtt(void* parameter);
And the MQTT task does exactly what you would expect:
const bool wifi_ready = WifiManager::connectOrPoll();
const bool mqtt_ready = MqttClient::connectOrPoll();
If both are up, it publishes telemetry and drains the outbound queues.
Source: src/lumen_task_manager.cpp