pub fn gen_close(gen: &Value)
Force a generator to completion (used by .return() and abandoned loops): marks it done without running further.
.return()