Skip to content

Instantly share code, notes, and snippets.

@anaisbetts
Created February 8, 2011 07:01
Show Gist options
  • Select an option

  • Save anaisbetts/816011 to your computer and use it in GitHub Desktop.

Select an option

Save anaisbetts/816011 to your computer and use it in GitHub Desktop.
// This is Pseudo-Powershell :)
[1,2,3] | someService | someOtherService
// is like this in Rx.NET; the difference though is that we
// never wait anywhere.
new[]{1,2,3}.AsObservable()
.SelectMany(someService)
.SelectMany(someOtherService)
.Subscribe(Console.WriteLine);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment