示例#1
0
        public async Task HandleAsync(FastCommand command)
        {
            await Task.Delay(100);

            service.AddLog(CommandType.Fast);
        }
示例#2
0
        public async Task HandleAsync(SlowCommand command)
        {
            await Task.Delay(2000);

            service.AddLog(CommandType.Slow);
        }