A professional triathlete has finished a race and is being greeted by cheering fans.