Skip to content

Instantly share code, notes, and snippets.

@winsonwq
Created January 3, 2012 08:26
Show Gist options
  • Save winsonwq/1554072 to your computer and use it in GitHub Desktop.
Save winsonwq/1554072 to your computer and use it in GitHub Desktop.
How to use Mr.Async.recode method
eval(Mr.Async.recode(function(){
var i = $await(delay()); // 等待
console.log(i);
}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment