I recently read this interesting post about eventual values. One thing that struck me and which I failed to understand is:
- Eventual Values can be interacted with like normal values.
- If an Eventual Value is part of a simple value operation, then that expression resolves to a new Eventual > Value which resolves when all its Eventual Values are resolved.
If I understood the author correctly, that is supposed to be solving several problems:
- "I don’t know if this is a Promise or not" (I don't know if it's the resolved result of the action, or the action itself).
- "I’d really like to write code that interacts with values, and not Promises, and leave the machinery to the computer to work out".