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

Question: Experiment removal #53

Open
evaughn opened this issue Nov 12, 2018 · 1 comment
Open

Question: Experiment removal #53

evaughn opened this issue Nov 12, 2018 · 1 comment

Comments

@evaughn
Copy link

evaughn commented Nov 12, 2018

Is there a public method for removing experiments? Digging into the emitter source, I saw that there was rewind, which removes all experiments. But I was wondering if there is a method was defined to remove specific experiments? Something like:

PushtellEventEmitter.prototype.remove = function(experimentName) {
   if (experiments[experimentName]) {
      delete experiments[experimentName]
  } 

    if (playedExperiments[experimentName]) {
      delete playedExperiments[experimentName]
    }
}
@pepf
Copy link

pepf commented Aug 23, 2019

I might need this method as well, working on a more custom reporting module based on specific experiment events :)
Are PR's accepted for this issue?

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

No branches or pull requests

2 participants