TimeoutHandler 类型定义

TimeoutHandler = void Function()

实现

typedef void TimeoutHandler();