Changeset 15232 for branches/Async/HeuristicLab.Core/3.3/Executable.cs
- Timestamp:
- 07/13/17 15:53:56 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Async/HeuristicLab.Core/3.3/Executable.cs
r15065 r15232 93 93 public virtual async Task StartAsync() { await StartAsync(CancellationToken.None); } 94 94 public virtual async Task StartAsync(CancellationToken cancellationToken) { 95 await Task.Factory.StartNew((ct) => Start((CancellationToken)ct), cancellationToken, cancellationToken);95 await AsyncHelper.DoAsync(Start, cancellationToken); 96 96 } 97 97 public virtual void Pause() {
Note: See TracChangeset
for help on using the changeset viewer.