What is the duration of the resistance effect of Swarming Dispersal for a Swarmkeeper Ranger?

In the Ranger section of Tasha’s Cauldron of Everything appears a new version of the sub-class Swarmkeeper, which is quite distinct from the UA version.

There is a new ability called Swarming Dispersal (TCoE, p.60). The feature does have an effect for which no duration is specified:

Swarming Dispersal

15th-level Swarmkeeper feature

You discorporate into your swarm, avoiding danger. When you take damage, you can use your reaction to give yourself resistance to that damage.

You vanish into your swarm and then teleport to an unoccupide space that you can see withing 30 feet of you, where you reappear with the swarm.

You can use this feature a number of times equal to your proficiency bonus, and you regainall expended uses when you finish a long rest.

Is this an instantaneous effect, does it last until your next turn, or does it have another duration?

I’m looking for a RAW answer, potentially including comparison with examples of similar features in other classes.