Skip to content

Question: Experiment removal #53

@evaughn

Description

@evaughn

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]
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions