ReleaseNotes/1.2.8.md
This following example will execute the block of steps after 3 days
builder
.StartWith<HelloWorld>()
.Schedule(data => TimeSpan.FromDays(3)).Do(block =>
block.StartWith<DoSomething>()
.Then<DoSomethingElse>())
.Then<GoodbyeWorld>();
builder
.StartWith<HelloWorld>()
.Delay(data => TimeSpan.FromMinutes(5))
.Then<GoodbyeWorld>();
builder
.StartWith<SayHello>()
.ForEach(data => new List<int>() { 1, 2, 3, 4 })
.Do(x => x
.StartWith<DisplayContext>()
.Input(step => step.Item, (data, context) => context.Item)
.Then<DoSomething>())
.Then<SayGoodbye>();
builder
.StartWith(context => Console.WriteLine("Hello!"))
.Then(context => Console.WriteLine("Bye!"));