File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -1071,6 +1071,13 @@ export interface LDPlugin {
1071
1071
* Changing the current context also causes all feature flag values to be reloaded. Until that has
1072
1072
* finished, calls to {@link variation} will still return flag values for the previous context. You can
1073
1073
* use a callback or a Promise to determine when the new flag values are available.
1074
+ *
1075
+ * It is possible that the identify call will fail. In that case, when using a callback, the callback will receive
1076
+ * an error value. While the SDK will continue to function, the developer will need to be aware that
1077
+ * calls to {@link variation} will still return flag values for the previous context.
1078
+ *
1079
+ * When using a promise, it is important that you handle the rejection case;
1080
+ * otherwise it will become an unhandled Promise rejection, which is a serious error on some platforms.
1074
1081
*
1075
1082
* @param context
1076
1083
* The context properties. Must contain at least the `key` property.
You can’t perform that action at this time.
0 commit comments