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 + + + +