コード例 #1
0
        private async Task PublishAsync(string channel, byte[] payload)
        {
            await EnsureRedisServerConnection();

            RedisLog.PublishToChannel(_logger, channel);
            await _bus.PublishAsync(channel, payload);
        }
コード例 #2
0
 private Task PublishAsync(string channel, byte[] payload)
 {
     RedisLog.PublishToChannel(_logger, channel);
     return(_bus.PublishAsync(channel, payload));
 }