Back to table of contents. Previous: 7 Lifetime management. Next: 9 Fibers.
TODO: A future, e.g., sleep(10s) cannot be interrupted. So if we need to, the promise needs to have a mechanism to interrupt it. Mention pipe’s close feature, semaphore stop feature, etc. ## Futures are single use TODO: Talk about if we have a
future<int> variable, as soon as we
then() it, it becomes invalid - we need to store the value somewhere else. Think if there’s an alternative we can suggest