You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A channel, created with csp.go(function*().... will not yield and always return null in csp.alts.
var t = csp.go(function*() {
while(true) {
var action = yield csp.take(csp.timeout(2000));
return "test"
};
});
A channel like "t" will not work with alts. alts will not wait for a new value from t - it will receive "null" immediatly and it will run a loop that freezes the browser.
The text was updated successfully, but these errors were encountered:
A channel, created with csp.go(function*().... will not yield and always return null in csp.alts.
A channel like "t" will not work with alts. alts will not wait for a new value from t - it will receive "null" immediatly and it will run a loop that freezes the browser.
The text was updated successfully, but these errors were encountered: