Yielding means to pause for whatever reason and allow other sections of code to run, wait for something, and so forth.
Good examples are wait() and WaitForChild.
Anyhow, in standard Lua, you can't yield inside pcall. I know that for a fact. The rest of this may be inaccurate, but it's what I can remember. Roblox added ypcall (yield pcall) to allow it, but later they just made pcall support it because there's no reason to have two different functions that do the same thing.
At least, that's what I remember.
I'll double-check in a second.
|