Skip to content

Commit

Permalink
List hook
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcardell committed Sep 21, 2024
1 parent a7cc6bc commit f878b43
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,12 @@ def program(features: FeatureClient[IO])(
Hooks are work-in-progress. All four OpenFeature [hook types](https://openfeature.dev/specification/sections/hooks)
are supported but only on the `FeatureClient` and `Provider` interfaces.

Hook types:
- BeforeHook (can optionally manipulate EvaluationContext)
- AfterHook
- ErrorHook
- FinallyHook

```scala mdoc
import cats.effect.IO
import io.cardell.openfeature.FeatureClient
Expand Down

0 comments on commit f878b43

Please sign in to comment.