3 ms·
Equivalently, both yield and return invoke the calling function continuation, but while return discards the current one, yield saves it somewhere for resumption
by gpderetta 5y ago
Equivalently, both yield and return invoke the calling function continuation, but while return discards the current one, yield saves it somewhere for resumption.