info coroutine

info coroutine

Subcommand of info. Returns the name of the currently executing coroutine, or the empty string if there is no current coroutine. Also returns the empty string if the current coroutine has been deleted (e.g. by renaming it to the empty string) but there has been no yield since that point.