将定时任务改为,发布、订阅模式的消息队列执行任务
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Channels;
|
||||
using System.Threading.Tasks;
|
||||
using Tnb.WarehouseMgr.Entities.Dto.Inputs;
|
||||
|
||||
namespace Tnb.WarehouseMgr.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// 任务消息通知接口
|
||||
/// </summary>
|
||||
public interface ITaskMessageNotify
|
||||
{
|
||||
ChannelReader<NotifyMessage> Reader { get; }
|
||||
ChannelWriter<NotifyMessage> Writer { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user