now I have a requirement that I start to make a polling request all the time when I need to enter a page
I want to ask me where this polling request should be written
for example, should my polling function be fn () {}
, should it be written in created {}