harness-community / openfeature-java-provider

Apache License 2.0
0 stars 1 forks source link

OF Requirement 1.1.3 #5

Closed scalabl3 closed 1 year ago

scalabl3 commented 1 year ago

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