Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicit capture #24

Merged
merged 4 commits into from
Sep 15, 2014
Merged

Explicit capture #24

merged 4 commits into from
Sep 15, 2014

Conversation

niik
Copy link
Owner

@niik niik commented Sep 15, 2014

Adds a way to enable explicit capturing of events. Useful when you know exactly what observables you want to observe or when capturing all events is simply impossible from a performance perspective.

Usage

RxSpySession.Launch(explicitCapture: true);

and then

var someObs = SomeMethod();
using(RxSpySession.Capture()) 
{
    someObs.Where(x => x == something).Select(x => ...).
}

The only observables logged now will be the Where and the Select.

/cc @paulcbetts

niik added a commit that referenced this pull request Sep 15, 2014
@niik niik merged commit b4e1840 into master Sep 15, 2014
@niik niik deleted the explicit-capture branch September 15, 2014 00:49
@anaisbetts
Copy link
Collaborator

💖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants