@empathyco/x-components
Version:
Empathy X Components
14 lines (8 loc) • 529 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [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';
```