final class · System.Threading.Tasks
CompleteTask
final class CompleteTask : Task
Completes a task in its turn (Task.Yield()).
- Kind
- final class
- Namespace
- System.Threading.Tasks
- Assembly
- System.Core
- Access
- internal, final
- Source file
Tasks.ant
Inheritance
Constructors
Methods
override Run()
#
Inherited members (23)
Completemethod from TaskFailmethod from TaskPausemethod from TaskAddWaitermethod from TaskAddWaiterLockedmethod from TaskFinishmethod from TaskWakemethod from TaskWaitmethod from TaskCheckmethod from TaskDelaymethod from TaskYieldmethod from TaskDonemethod from TaskWhenAllmethod from TaskRunmethod from TaskRunmethod from TaskIsCompletedproperty from TaskIsFaultedproperty from TaskCompletedTaskproperty from TaskGetTypemethod from AnyUndescribedmethod from AnyToStringmethod from AnyHashmethod from Anydestroymethod from Any
Source
CompleteTask as Antril, decompiled from its Larva HIR.
// System.Threading.Tasks.CompleteTask — System.Core (decompiled from Larva HIR)
into namespace System.Threading.Tasks
{
/// Completes a task in its turn (`Task.Yield()`).
final class CompleteTask : Task
{
Task target;
public:
new(Task target)
{
this.target = target;
}
override Run()
{
target.Complete();
}
}
}