Renamed run modes

This commit is contained in:
RogueException
2016-10-10 21:19:41 -03:00
parent c7ac85455f
commit d480b2f25b
2 changed files with 4 additions and 4 deletions

View File

@@ -158,10 +158,10 @@ namespace Discord.Commands
case RunMode.Sync:
await _action(context, args).ConfigureAwait(false);
break;
case RunMode.Async:
case RunMode.Mixed:
var t1 = _action(context, args);
break;
case RunMode.FireAndForget:
case RunMode.Async:
var t2 = Task.Run(() => _action(context, args));
break;
}

View File

@@ -3,7 +3,7 @@
public enum RunMode
{
Sync,
Async,
FireAndForget
Mixed,
Async
}
}