public Task <T> Run <T>(Func <T> task) { return(BoundTaskPool.Enqueue <T>(Id, task)); }
public Task Run(Action task) { return(BoundTaskPool.Enqueue(Id, task)); }
public BoundTask() { Id = BoundTaskPool.GenerateNextId(); }