IdleRequestCallback 类型定义

IdleRequestCallback = void Function(IdleDeadline deadline)

实现

typedef void IdleRequestCallback(IdleDeadline deadline);