mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Commands return immediately and signalr is used to control the UI
This commit is contained in:
@@ -4,6 +4,8 @@ namespace NzbDrone.Common.Messaging.Tracking
|
||||
{
|
||||
public class TrackedCommand
|
||||
{
|
||||
public String Id { get; private set; }
|
||||
public String Name { get; private set; }
|
||||
public String Type { get; private set; }
|
||||
public ICommand Command { get; private set; }
|
||||
public CommandState State { get; set; }
|
||||
@@ -13,6 +15,8 @@ namespace NzbDrone.Common.Messaging.Tracking
|
||||
|
||||
public TrackedCommand(ICommand command, CommandState state)
|
||||
{
|
||||
Id = command.CommandId;
|
||||
Name = command.GetType().Name;
|
||||
Type = command.GetType().FullName;
|
||||
Command = command;
|
||||
State = state;
|
||||
|
Reference in New Issue
Block a user