Table of Contents

Where

Where filters out emissions from a Schedule based on a provided predicate


Schedule where = Schedule
    .Linear(TimeSpan.FromSeconds(1))
    .Take(8)
    .Where(x => ((TimeSpan)x).Seconds % 2 == 0);

Duration
2 seconds
4 seconds
6 seconds
8 seconds