useAsyncEntity()
Home > @backstage/plugin-catalog-react
> useAsyncEntity
Grab the current entity from the context, provides loading state and errors, and the ability to refresh.
Signature:
function useAsyncEntity<TEntity extends Entity = Entity>(): EntityLoadingStatus<TEntity>;
Returns:
EntityLoadingStatus<TEntity>