We’ve released Evaluation Hooks across all of our server-side SDKs! With evaluation hooks, you can tap into the lifecycle of a Variable evaluation to run custom logic at four different stages:
before – run code before the evaluation starts
after – execute logic after a successful evaluation
onFinally – code that runs at the end of each variable call
error – handle any errors during evaluation
Evaluation hooks give you visibility over how Variables are being evaluated. You can:
Log or audit every evaluation to your analytics or logging platform.
Capture performance metrics or perform cleanup tasks after each evaluation.
See the Evaluation Hooks section on every Server Side SDK's docs page to learn more 👀