public async Task RunTaskAsync(string taskName, CancellationToken token = default(CancellationToken)) { await RemoteTaskCompletionSource.Run(task => { Client.RunTaskAsync(taskName, task); }, token); }
public async Task <string> PullApplicationPackageAsync(string id, string version) { return(await RemoteTaskCompletionSource <string> .Run((task, sponsor) => { Packages.PullApplicationPackage(id, version, task); })); }
public async Task ReleaseAsync(CancellationToken token) { await RemoteTaskCompletionSource.Run(task => { Client.ReleaseAsync(task); }, token); }
public async Task PushApplicationPackageAsync(string filename) { await RemoteTaskCompletionSource <object> .Run((task, sponsor) => { Packages.PushApplicationPackage(filename, task); }); }
public async Task <string> PullProjectPackageAsync(string id, string version) { return(await RemoteTaskCompletionSource <string> .Run(task => { Packages.PullProjectPackage(id, version, task); })); }
public async Task PushApplicationPackageAsync(string filename, CancellationToken token = default(CancellationToken)) { await RemoteTaskCompletionSource.Run(task => { Packages.PushApplicationPackage(filename, task); }, token); }
public async Task RunTaskAsync(string taskName, CancellationToken token) { await RemoteTaskCompletionSource.Run((task, sponsor) => { Client.RunTaskAsync(taskName, task); }, token); }
public async Task BeginAsync(CancellationToken token) { await RemoteTaskCompletionSource.Run((task, sponsor) => { Client.Begin(task); }, token); }