js-client-sdk

Home > @eppo/js-client-sdk > EppoJSClient > getBanditAction

EppoJSClient.getBanditAction() method

Signature:

getBanditAction(flagKey: string, subjectKey: string, subjectAttributes: BanditSubjectAttributes, actions: BanditActions, defaultValue: string): Omit<IAssignmentDetails<string>, 'evaluationDetails'>;

Parameters

Parameter Type Description
flagKey string  
subjectKey string  
subjectAttributes BanditSubjectAttributes  
actions BanditActions  
defaultValue string  

Returns:

Omit<IAssignmentDetails<string>, ‘evaluationDetails’>