This means something happens right after another thing. It is like saying "as soon as" or "the moment that."
、。
As soon as the end-of-day chime rang, the students rushed out of the classroom.
に、。
The moment he lay down on the bed, he started snoring loudly.
、に、。
As for that popular product, as soon as it's stocked in the store, it always sells out immediately.
、、。
The moment the criminal heard the police car's siren, he tried to abandon the hostage and flee, but he couldn't move.