Lines Matching defs:task
20 #include "src/tasks/cancelable-task.h"
113 // Assert that the timeout task was cancelled.
179 // Schedule a task for resolving the Promise. It's still possible that the
180 // timeout task runs before the promise resolving task. In that case, the
181 // timeout task will just ignore the node.
188 auto task = std::make_unique<ResolveAsyncWaiterPromisesTask>(
190 node->task_runner_->PostNonNestableTask(std::move(task));
575 auto task = std::make_unique<AsyncWaiterTimeoutTask>(
577 node->timeout_task_id_ = task->id();
579 std::move(task), rel_timeout.InSecondsF());
706 // it up now. We don't need to cancel the timeout task, because there is
726 // If cancelling the timeout task failed, the timeout task is already
783 // Try to cancel the timeout task (if one exists). If the timeout task exists,
784 // cancelling it will always succeed. It's not possible for the timeout task
785 // to be running, since it's scheduled to run in the same thread as this task.
843 // We've already tried to cancel the timeout task for the node; since we're
844 // now in the same thread the timeout task is supposed to run, we know the
845 // timeout task will never happen, and it's safe to delete the node here.