You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Utilities for returning state from functions that run inside a loop.
This is used in e.g clipping, where we may need to break or transition states.
The main entry point is to return an [`Action`](@ref) from a function that
is wrapped in a `@controlflow f(...)` macro in a loop. When a known `Action`
(currently, `Continue`, `Break`, `Return`, or `FullReturn`) is returned, it is processed
by the `@controlflow` macro, which allows the function to break out of the loop
early, continue to the next iteration, or return a value, without being
syntactically inside the loop.
0 commit comments