Lines Matching defs:task
104 // This task has been canceled, but was already fetched, so it's result
109 var task = this.tasks_[message.taskId];
111 // Check if the task is still valid.
112 if (task.isValid())
113 task.accept(message);
128 * @return {?number} Remote task id or null if loaded from cache.
142 var task = this.tasks_[taskKey];
143 if (!task.isValid()) {
144 // Cancel this task since it is not valid anymore.
179 var task = {isValid: opt_isValid};
180 this.tasks_[this.lastTaskId_] = task;
354 * @return {?number} Remote task id or null if loaded from cache.