Skip to content

Commit eb21120

Browse files
committed
Add developer note for identifyResolve/identifyReject.
1 parent 55d9b6b commit eb21120

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/shared/sdk-client/src/DataManager.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ export interface DataManager {
2323
/**
2424
* This function handles the data management aspects of the identification process.
2525
*
26+
* Implementation Note: The identifyResolve and identifyReject function resolve or reject the
27+
* identify function at LDClient level. It is likely in individual implementations that these
28+
* functions will be passed to other components, such as a datasource, do indicate when the
29+
* identify process has been completed. The data manager identify function should return once
30+
* everything has been set in motion to complete the identification process.
31+
*
2632
* @param identifyResolve Called to reject the identify operation.
2733
* @param identifyReject Called to complete the identify operation.
2834
* @param context The context being identified.

0 commit comments

Comments
 (0)