CIA content service instance
Null while loading or if initialization failed. Check isLoading and error states before using.
Error object if initialization failed
Null if no error occurred. When present, ciaContentService will be null. Use to show error UI and provide retry option.
Loading state indicator
True during initial service initialization or when refresh() is called. Use to show loading UI.
Function to retry service initialization
Call this to re-attempt service creation after an error, or to refresh the service instance.
Return type for useCIAContentService hook
Provides access to the CIA content service along with loading and error states for proper UI handling.
Example