UNPKG

@empathyco/x-components

Version:
14 lines (8 loc) 529 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [RequestStatus](./x-components.requeststatus.md) ## RequestStatus type The possible status of a request: - Success: The request has resolved successfully. - Loading: The request is in process, waiting for a response. - Error: The request has failed. **Signature:** ```typescript export type RequestStatus = 'success' | 'loading' | 'error' | 'initial'; ```