|
µEvLoop
A fast and lightweight event loop aimed at embedded platforms in C99.
|
A promise is association of an asynchronous operation to the possible execution paths that follow its resolution. It is also a holder for the value it was settled with. More...

Data Fields | |
| struct uel_promise_store * | source |
| The promise store from where this promise was issued. | |
| uel_promise_state_t | state |
| The current state of this promise. | |
| void * | value |
| The value this promise holds. Only meaningful if already settled. | |
| uel_promise_segment_t * | first_segment |
| The first segment to be processed when this promise settles. | |
| uel_promise_segment_t * | last_segment |
| The last segment to be processed when this promise settles. | |
A promise is association of an asynchronous operation to the possible execution paths that follow its resolution. It is also a holder for the value it was settled with.
A promise is an object that can be in three different states:
1.8.17