async onContextChange()

in packages/openfeature-web-provider/src/ConfidenceWebProvider.ts [63:70]


  async onContextChange(oldContext: EvaluationContext, newContext: EvaluationContext): Promise<void> {
    const changes = contextChanges(oldContext, newContext);
    if (Object.keys(changes).length === 0) {
      return Promise.resolve();
    }
    this.confidence.setContext(convertContext(changes));
    return this.expectReadyOrError();
  }