In an immediate manner; instantly or without delay.
conj
directly (as soon as), instantly, the moment that. Indicates that the independent clause describes something that occurs immediately after the dependent clause's referent does.
quick as lightning
How often have the words immediately and quick as lightning occurred in a corpus of books? (source: Google Ngram Viewer )