harness-community / openfeature-java-provider

Apache License 2.0
0 stars 1 forks source link

OF Requirement 1.2.1 #8

Closed scalabl3 closed 1 year ago

scalabl3 commented 1 year ago

https://docs.openfeature.dev/docs/specification/sections/flag-evaluation

Requirement 1.2.1 The client MUST provide a method 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 client.addHooks([new MyHook()]);

See hooks for details.