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
doFuture(function *() {
let x = syncFunction();
let y = yield asyncFunction(x);
return monad(y);
})
The syncFunction will be executed as soon as the generator is created. One might expect it to be instead executed when the future is forked. We need to investigate this deeper to determine what constitutes correct behavior.
The text was updated successfully, but these errors were encountered:
Example:
The
syncFunction
will be executed as soon as the generator is created. One might expect it to be instead executed when the future is forked. We need to investigate this deeper to determine what constitutes correct behavior.The text was updated successfully, but these errors were encountered: