When using timelines make sure to use startTimelineNamed instead of continueTimelineNamed because the latter doesn't restart by default.
Just for your information, you can actually do it as you intended but it get's a bit complicated because you would need to bind the parameters to the function name first: