- Timestamp:
- 07/13/17 15:53:56 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Async/HeuristicLab.Optimization/3.3/Algorithms/Algorithm.cs
r15065 r15232 213 213 public virtual async Task StartAsync() { await StartAsync(CancellationToken.None); } 214 214 public virtual async Task StartAsync(CancellationToken cancellationToken) { 215 await Task.Factory.StartNew((ct) => Start((CancellationToken)ct), cancellationToken, cancellationToken);215 await AsyncHelper.DoAsync(Start, cancellationToken); 216 216 } 217 217 public virtual void Pause() {
Note: See TracChangeset
for help on using the changeset viewer.