public TaskRoutine(IRunner <T> runner) { _sveltoTask = new SveltoTask <T>(); _runner = runner; _continuationWrapper = new ContinuationWrapper(); }
public TaskRoutine(IInternalRunner <TaskRoutine <TTask> > runner) { _sveltoTask = new SveltoTask(); _runner = runner; _continuationEnumerator = ContinuationPool.RetrieveFromPool(); }
public PooledSveltoTask(SveltoTasksPool pool) { _pool = pool; _sveltoTask = new SveltoTask <IEnumerator>(); }