You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
Update to js-sdk-event-processor v0.4.0, which supports tracking in-flight event dispatcher requests in its stop() promise. The close promise (of Optimizely) is based on the event processor's stop promise, so by this upgrade, we get the new functionality. I updated the close doc comment to talk about this new behavior.
Test plan:
- Existing tests
- Manually tested in Node, browser, and Lambda environments
Issues:
https://optimizely.atlassian.net/browse/OASIS-5907
Copy file name to clipboardExpand all lines: packages/optimizely-sdk/CHANGELOG.MD
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
8
8
### Bug fixes
9
9
- Fixed default event dispatcher not used in React Native entry point ([#383](https://github.com/optimizely/javascript-sdk/pull/383))
10
10
11
+
### New Features
12
+
- Promise returned from `close` tracks the state of in-flight event dispatcher requests ([#404](https://github.com/optimizely/javascript-sdk/pull/404))
0 commit comments