Expressions (phrases, clauses, etc.), Interjection (kandoushi)
while surprised; suddenly
see あれよあれよという間にsee あれよあれよというまにsee あれよあれよという内にsee あれよあれよといううちに
スロットを打っているうちに、あれよあれよと今の時間です。I was hitting the slots, and before I knew it, it's this time already.