How to make new enhanced inputs keep firing?

you could have the proceeding code keep running but not the input action its self

for example an auto run system

player presses W the character moves forward then stops

player holds W long enough to trigger the auto run

player lets go of W and the function (on a timer or something) keeps calling over and over making the player run