Namespace continue::

Description

Symbols specific for restartable functions.

See also

this_function, Restartable functions


Constant this_function

constant this_function

Description

This symbol is only valid in restartable functions and evaluates to the current restartable function (ie the function that will continue the current function from the next restart point (ie next yield() or continue return). For generator functions this is the same value as the value that was returned by the "outer" (ie generator) function.

This differs from this_function which evaluates to the "outer" function.

See also

this_function, this, this_object()