For this explanation that’s fine.
But in general and to be complete, the | separates the arguments from the code. createTimer can’'t handle a function with arguments like that so for Timers it will always [ | ] with nothing before the |, meaning no arguments are passed.
More detail is discussed in Reusable Functions: A simple lambda example with copious notes