Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
以下 Ruby 纤程在第一次恢复时引发 StopIteration 异常,但随后不会。是否可以制作每次恢复时都会引发异常的光纤?
f = Fiber.new do while true raise StopIteration end end