4 ms·
"At the same time"? How does that happen on a single thread?
by Buttons840 7y ago
"At the same time"? How does that happen on a single thread?
- steveklabnik 7y agoExecutors are not inherently single threaded. They can be, they can also not be.
- ilikehurdles 7y agoIt just interleaves execution. This really seems more similar to python's generator/yield semantics.
- estebank 7y agoThat's how it is implemented under the covers, it uses the nightly only generators feature which builds a state machine of the entire future.