system.reactive Subscribing to an observable (CancellationToken)

Download system.reactive for free

Example

emails.Subscribe(email =>
    Console.WriteLine("Email from {0} to {1}", email.From, email.To),
    cancellationToken);