From d2c2da68088f78c5a5d4a2cb699f426458be6d9b Mon Sep 17 00:00:00 2001 From: adam Date: Thu, 11 Jul 2024 02:37:27 -0400 Subject: [PATCH] telefranzable make me a template --- Program.cs | 18 +++++++++++++++--- placeholder-VO.csproj | 4 ++++ 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/Program.cs b/Program.cs index 2c20111..eefbff7 100644 --- a/Program.cs +++ b/Program.cs @@ -1,12 +1,24 @@ using System; +using franz; -namespace MyApp +namespace PlaceholderVO { internal class Program { - static void Main(string[] args) + public static Telefranz telefranz; + + static async Task Main(string[] args) { + Telefranz.Configure(name: "balaam placeholder VO", bootstrap_servers: "alloces:9092", + commands: ["speak"]); + telefranz = Telefranz.Instance; + + await Task.Delay(1000); + telefranz.ProduceMessage(new gray_messages.global.sound_off()); Console.WriteLine("Hello World!"); + + await Task.Delay(-1); + } } -} \ No newline at end of file +} diff --git a/placeholder-VO.csproj b/placeholder-VO.csproj index 404e11f..ca21fc4 100644 --- a/placeholder-VO.csproj +++ b/placeholder-VO.csproj @@ -8,4 +8,8 @@ disable + + + +