In a flash has 2 different meanings across 2 categories:
Adverb · Prep_phrase
without any delay
"he was killed outright"
Instantaneously; very quickly; in almost no time.