A typedef for the function argument to Timeline.timeSync.
typedef TimelineSyncFunction<T> = T Function();