public async Task Handle(CancelAll request) { //await new ActionNotification(Guid.Empty, "Aborting", "", request.ClientId, request.RequestId).Raise() .ConfigureAwait(false); await _contentInstallation.Abort().ConfigureAwait(false); // await new ActionNotification(Guid.Empty, "Aborted", "", request.ClientId, request.RequestId).Raise().ConfigureAwait(false); }
public async Task Handle(PerformUpdate request) { await _contentInstallation.Abort().ConfigureAwait(false); // TODO: Progress reporting etc await _stateHandler.StartUpdating().ConfigureAwait(false); await _updateHandler.SelfUpdate().ConfigureAwait(false); }
public async Task Handle(Shutdown request) { await _contentInstallation.Abort().ConfigureAwait(false); _shutdownHandler.Shutdown(); }