Exemplo n.º 1
0
        protected static async Task StartProcessingWaitForSpecifiedTimeAndWaitForEnd(IProcessingEngine engine, int milliseconds)
        {
            var task = engine.Start();

            Thread.Sleep(milliseconds);
            await engine.Stop();
        }