4 ms·
They are available in nightly - https://doc.rust-lang.org/beta/unstable-book/language-features/generators.html https://doc.rust-lang.org/beta/unstable-book/lang
by richardwhiuk 7y ago
They are available in nightly - https://doc.rust-lang.org/beta/unstable-book/language-features/generators.html https://doc.rust-lang.org/beta/unstable-book/language-featur... - but are very unstable.
I think "at some point" is the best answer :)
- steveklabnik 7y agoTo be clear on how unstable: they have not received an actual RFC yet, so they’re barely designed at all. It will be some time before they’re stable, as in some sense, they haven’t even started the process. I’d imagine that they would go through the stages faster than many other features, though, given that they implementation will have received a lot of testing via async/await.