Skip to content

Commit

Permalink
Add developer note for identifyResolve/identifyReject.
Browse files Browse the repository at this point in the history
  • Loading branch information
kinyoklion committed Sep 25, 2024
1 parent 55d9b6b commit eb21120
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/shared/sdk-client/src/DataManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ export interface DataManager {
/**
* This function handles the data management aspects of the identification process.
*
* Implementation Note: The identifyResolve and identifyReject function resolve or reject the
* identify function at LDClient level. It is likely in individual implementations that these
* functions will be passed to other components, such as a datasource, do indicate when the
* identify process has been completed. The data manager identify function should return once
* everything has been set in motion to complete the identification process.
*
* @param identifyResolve Called to reject the identify operation.
* @param identifyReject Called to complete the identify operation.
* @param context The context being identified.
Expand Down

0 comments on commit eb21120

Please sign in to comment.