Function delayWithMicrotask