Is the generation of invitation links secure against data races?

I don’t think there should be any problems.