pub fn get_current_hook_context() -> HookContextExpand description
Returns the currently active HookContext.
If no hook context has been set, creates and stores a default one
in the global CURRENT_HOOK_CONTEXT cell so subsequent calls
return the same instance.
ยงReturns
HookContext: The currently active hook context.