src/service/vsync-impl.js
/**
   * Creates a function that will call {@link run} method.
   * @param {!VsyncTaskSpecDef} task
   * @return {function(!VsyncStateDef=)}
   */
Creates a function that will call  run method.
Creates a function that will call run method .
createTask(task) {
    return  (opt_state => {
      this.run(task, opt_state);
    });
  }
createTask ( task ) { return ( opt_state => { this . run ( task , opt_state ) ; } ) ; }
Creates a function that will call {@link run} method.
Creates a function that will call { @link run } method .
/** @type {function(!VsyncStateDef=)} */