Alternative to delay() when using Ticker in ESP8622
use the ticker callback to increment a value. this value can be used as millis() substitute. actually the "millis" is made that way.

write a simple function to give you a delay. this code assumes the callback function is interrupt/event driven like a systick timer in ARMs.

uint32_t ticks;

void callbackFunc()
{
   ticks++;
}

void myDelay(uint32_t del)
{
   uint32_t tempTime = ticks;
   while (ticks &lt; tempTime + del);
}