when (or before)
Sentences starting with the adverbial expressions Scarcely... or Hardly... are grammatically paired with when or before to introduce the time clause.
Than is strictly paired with No sooner...
(e.g., "No sooner had the satellite deployed than..."). When is the most standard correct choice here.