Async
A renderless component for awaiting promises to resolve; great for making HTTP requests. Supports showing pending, resolved, or rejected promises.
Features:
- Provides abstraction for
pending
,error
, andresults
logic for Promises. - Scoped slots for
pending
,rejected
, andresolved
states.
Example
This component is great for handling any asynchronous tasks that involve promises. For example, HTTP requests: