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.
like a madwoman
How often have the words immediately and like a madwoman occurred in a corpus of books? (source: Google Ngram Viewer )