* Runs vsync task: measure followed by mutate. * * If state is not provided, the value passed to the measure and mutate * will be undefined. * * @param {!VsyncTaskSpecDef} task * @param {!VsyncStateDef=} opt_state
(task, opt_state)
| 168 | * @param {!VsyncStateDef=} opt_state |
| 169 | */ |
| 170 | run(task, opt_state) { |
| 171 | this.tasks_.push(task); |
| 172 | this.states_.push(opt_state || undefined); |
| 173 | this.schedule_(); |
| 174 | } |
| 175 | |
| 176 | /** |
| 177 | * Runs vsync task: measure followed by mutate. Returns the promise that |
no test coverage detected