Expresses the idea of 'as soon as; the moment'.
Long explanation:
The grammar point Verbるなり is used to express the idea that something happens immediately after an action. It can be translated as 'as soon as' or 'the moment' in English. This is used with verbs in their dictionary form.