keeping the Arduino in a function for X time

Ill have to read on blink

I want it to run the internal code during this process.

I thought delay stays on that line for the given time.