pub fn register_tenant_capture_hook(f: fn() -> Option<i64>)Expand description
Register the tenant capture hook.
Called once during application bootstrap. Re-registration is silently ignored. The hook is invoked at dispatch time to capture the current tenant ID from task-local storage without requiring a direct dependency on the framework crate.