libfetch 0.0.0
A lightweight asynchronous HTTP/1.1 client library implementing a subset of the WHATWG Fetch API.
Loading...
Searching...
No Matches
Promise States

States of asynchronous fetch promises. More...

Enumerations

enum  fetch_promise_state_t { FETCH_PROMISE_PENDING , FETCH_PROMISE_FULFILLED , FETCH_PROMISE_REJECTED }
 Promise states for asynchronous operations. More...
 

Detailed Description

States of asynchronous fetch promises.

Enumeration Type Documentation

◆ fetch_promise_state_t

Promise states for asynchronous operations.

Enumerator
FETCH_PROMISE_PENDING 

Operation is still in progress

FETCH_PROMISE_FULFILLED 

Operation completed successfully

FETCH_PROMISE_REJECTED 

Operation failed or was cancelled