Sensor delay measurement

Hi there,

I was wondering whether someone could explain to me how to find the delay of a given sensor.
For example, when collecting data from various sensors, the EKF accounts for a delay in the measurements. In the case of the airspeed, tasDelay_ms = 240 and in the magnetometers, magDelay_ms = 60.
Does these values relate to the type of connection? For example, airspeed uses I2C, so tasDelay_ms = 240 ms? Or is there any way to empirically find this value for a given sensor type? I haven’t found anything in the datasheets of sensors.
Thank you a lot!