Esempio n. 1
0
        static void Main()
        {
            QueueProcessor.Watch <StripeWebhook>(CancellationTokenSource.Token, HasMessagesCallback, NoMessagesCallback);

            while (!CancellationTokenSource.IsCancellationRequested)
            {
                Thread.Sleep(1000 * 60);
            }
        }