Articles on: Best Practices

Is there a way to await the response from the method bullettrain.identify()?

Identify returns a promise, so yes. Identify will resolve after the new flags have been resolved so flagsmith.getValue / hasFeature, etc. will be updated after the promise resolves.

Updated on: 22/02/2021

Was this article helpful?

Share your feedback

Cancel

Thank you!