Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
While methods in general autothread, some opt out of that - especially those called by internals and that are expected to follow protocols. It would seem `iterator` is a fair fit for that category, so implement it as an iterator that produces 1 value when iterated: the Junction itself. The current bad behavior in #3198 is eliminated by this change; it now outputs `Junction` instead.
- Loading branch information