class OpenFeature::ProcHook
- OpenFeature::ProcHook
- OpenFeature::Hook
- Reference
- Object
Defined in:
openfeature/hook.crConstructors
Instance Method Summary
-
#after(ctx : HookContext, hints : HookHints) : EvaluationContext | Nil
immediately after successful flag evaluation
-
#before(ctx : HookContext, hints : HookHints) : EvaluationContext | Nil
immediately before flag evaluation
-
#error(ctx : HookContext, hints : HookHints) : EvaluationContext | Nil
immediately after an unsuccessful during flag evaluation
-
#finally(ctx : HookContext, hints : HookHints) : EvaluationContext | Nil
unconditionally after flag evaluation
Instance methods inherited from class OpenFeature::Hook
after(ctx : HookContext, hints : HookHints)
after,
before(ctx : HookContext, hints : HookHints) : EvaluationContext | Nil
before,
error(ctx : HookContext, hints : HookHints)
error,
finally(ctx : HookContext, hints : HookHints)
finally
Constructor Detail
def self.new(*, before : ProcStageHook | Nil = nil, after : ProcStageHook | Nil = nil, error : ProcStageHook | Nil = nil, finally : ProcStageHook | Nil = nil)
#
Instance Method Detail
Description copied from class OpenFeature::Hook
immediately after successful flag evaluation
Description copied from class OpenFeature::Hook
immediately before flag evaluation
Description copied from class OpenFeature::Hook
immediately after an unsuccessful during flag evaluation
Description copied from class OpenFeature::Hook
unconditionally after flag evaluation