Cleaned up request acks. Added internal service bus for internal messaging.

This commit is contained in:
Tom
2024-11-08 15:32:42 +00:00
parent fe2eb86a08
commit 66f2bf7ec6
33 changed files with 1326 additions and 415 deletions

18
Bus/ServiceBusData.cs Normal file
View File

@@ -0,0 +1,18 @@
namespace TwitchChatTTS.Bus
{
public class ServiceBusData
{
public string Topic { get; }
public object? Sender { get; }
public object? Value { get; }
public DateTime Timestamp { get; }
public ServiceBusData(object sender, string topic, object value)
{
Topic = topic;
Sender = sender;
Value = value;
Timestamp = DateTime.UtcNow;
}
}
}