Hello,
It will depend on what you will be trying to achieve , if you are using some kind of wireless protocol it will be hard to perform a delay making sure your network transmissions won't be interrupted.
I would recommend you to use timers and interrupt the code depending the time you want to use and set some kind of event or flag to make your routine.
Still, if you are using some kind of wireless protocol example, I would really take into account that if you make some kind of blocking task/function the radio might not be able to receive a message in case it arrives in that blocking routing.
Regards,
Estephania