* @param {function(?IdleDeadline)} fn
(fn)
| 168 | * @param {function(?IdleDeadline)} fn |
| 169 | */ |
| 170 | constructor(fn) { |
| 171 | /** @public {TaskState_Enum} */ |
| 172 | this.state = TaskState_Enum.NOT_RUN; |
| 173 | |
| 174 | /** @private @const {!function(?IdleDeadline)} */ |
| 175 | this.fn_ = fn; |
| 176 | } |
| 177 | |
| 178 | /** |
| 179 | * Executes the wrapped function. |
nothing calls this directly
no outgoing calls
no test coverage detected