Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrap setTimeout and other async functions to allow in-flight detection. #7

Open
dalejung opened this issue Sep 16, 2015 · 0 comments
Open

Comments

@dalejung
Copy link
Owner

currently, if %run is run and a setTimeout is used and affects a global var, that change won't be reflected.

setTimeout( function() { global.bob = 1;}, 100);

We need a way to do the sandbox and repl globals diffing after the async stuff returns. Honestly, it's a bit like the angular digest.

Not sure if there is a global way to tell if I have an async op still in flight, maybe something in node.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant