Expand description
Hook callback trait + decision type + type-erasure plumbing.
Re-exportsยง
use std::marker::PhantomData;๐use serde_json::Value;๐use forge_primitives::HookContext;๐
Structsยง
- Erased
Callback ๐ - Adapter so any typed
HookCallback<I>implementsErasedHookCallbackwhenI: DeserializeOwned. - Hook
Decision - A hook decision.
Enumsยง
- Hook
Decision ๐Kind
Traitsยง
- Erased
Hook Callback - Type-erased hook callback. The concrete input type is rebuilt at
dispatch time from
input.hook_event_name. - Hook
Callback - Trait for hook callbacks. Each hook kind has its own concrete callback; the trait is parameterised over the input type.