I don’t really like this update, broke some of my code:
local function noyield(f,...)
return select(2,assert(xpcall(f,debug.traceback,...)))
end
It was imo a clean wrapper to call functions and error if the function yields (very useful for non-production code). Now I have to switch to __index or a for loop iterator call (or is there a cleaner way?) to get this same behavior.
I think we can always make a yielding xpcall ourselves (is this wrong?):
But ideally the above noyield is Roblox provided and imo xpcall shouldn’t exist (if the above is just as powerful).