コード例 #1
0
        public async Task <int> SendExampleCommandWithResult(int amount)
        {
            var command = new SomeCommand {
                Value = amount
            };

            return(await _commandPublisher.SendCommandAsync <int>(
                       command,
                       QueueName,
                       FibCommandKey));
        }