Skip to content

Instantly share code, notes, and snippets.

@anaisbetts
Created September 11, 2011 20:55
Show Gist options
  • Select an option

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

Select an option

Save anaisbetts/1210109 to your computer and use it in GitHub Desktop.
public IObservable<IObservable<T>> Window(
this IObservable<T> source,
// An Observable that fires when Windows should open
IObservable<TWindowOpening> windowOpenings,
// A Func that given a Window opening, will determine when that window
// should close.
Func<TWindowOpening, IObservable<TWindowClosing>> windowClosingSelector);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment