Adverb
(idiomatic) at the last possible moment; just in time
(idiomatic, sarcastic) after an undesirable delay; undesirably late
She finally dumped her jerk boyfriend, and not a minute too soon
French troops arrived in Afghanistan last week, and not a minute too soon. The French are acting as advisers to the Taliban, to teach them how to surrender properly. Jay Leno