WAIT_MS() deprecated, rtos::Thread::wait deprecated - loops back to wait(1)

I was looking at the library "BNO055_fusion when I found wait_ms, didn’t want the RTOS spinning, looked up using thread::wait and that too is deprecated. Tried looking at Mbed 6 and got 404.

When we get a deprecated message where do we look for the replacement?


Section ThisThread of the RTOS API is the place where you can find an information about a wait replacement.

BR, Jan