Requirement 1.1.3
The API MUST provide a function to add hooks which accepts one or more API-conformant hooks, and appends them to the collection of any previously added hooks. When new hooks are added, previously added hooks are not removed.
// example hook attachment
OpenFeature.addHooks([new MyHook()]);
https://docs.openfeature.dev/docs/specification/sections/flag-evaluation
Requirement 1.1.3 The API MUST provide a function to add hooks which accepts one or more API-conformant hooks, and appends them to the collection of any previously added hooks. When new hooks are added, previously added hooks are not removed.
// example hook attachment OpenFeature.addHooks([new MyHook()]);
hooks