コード例 #1
0
 public static async Task Topic(string taskCode)
 {
     var redis = RedisManager.getRedisConn();
     var db    = redis.GetDatabase(Global.REDIS_DB);
     await db.PublishAsync(RedisManager.TaskTopic(taskCode), TOPIC_MESSAGE);
 }