Пример #1
0
        private static async void Test()
        {
            var title = TestLogic.InvalidUrl(Browser).Result;

            await TestLogic.Run(Browser);

            Bus.Publish(new Node {
                Name = "flow1", Data = new { Guid = Guid.NewGuid() }
            });

            Bus.Publish(Factory.GetTitleNode("http://www.wp.pl"));
            Bus.Publish(Factory.GetTitleNode("http://www.onet.pl"));
            Bus.Publish(Factory.GetTitleNode("http://www.interia.pl"));

            Bus.Subscribe <Result>("subscriptionId", x => Logger.Information(JsonConvert.SerializeObject(x.Node.Results)));
        }