Espacio de nombres · Larva HIR

System.Threading.Tasks

Tipos

class CompleteTask internal Completes a task in its turn (Task.Yield()).
class Scheduler Runs tasks on this thread, one at a time: those ready (in order), then the timers that are due; when nothing is ready it sleeps until the next timer.
class Task Work that finishes later: an async function, a delay, several tasks together.
class Task<T> A task with a value: what an async function that returns one gives.
class WhenAllTask internal Waits for every task of a list: each one that finishes runs it, and it counts what is left.
Esc