-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Description
Current documentation for Fiber.throw()
says:
Suspend the current running fiber and switch execution to the target fiber, raising the specified exception immediately. The fiber which called switch on this fiber earlier will now get an exception.
I believe that the second part is incorrect. The exception is propagated to the parent of the target fiber, instead of the fiber that switched into it. These may or may not be the same.
Metadata
Metadata
Assignees
Labels
No labels