Function: ResourceStatusProvider()
ResourceStatusProvider(
__namedParameters):Element
Mount once near the root of your app to enable a global, cross-plugin readiness aggregate. Plugins publish ResourceStatus snapshots while a resource is warming up / unavailable; useResourceStatus exposes the worst across all of them.
Without a provider, useResourceStatus and useResourceStatusPublisher
fall back to no-ops, so plugins are safe to call them unconditionally.
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”Returns
Section titled “Returns”Element
Example
Section titled “Example”<ResourceStatusProvider> <ResourceStatusIndicator /> <App /></ResourceStatusProvider>