Skip to content

Instantly share code, notes, and snippets.

@sayrer
Created June 2, 2013 06:18
Show Gist options
  • Save sayrer/5692800 to your computer and use it in GitHub Desktop.
Save sayrer/5692800 to your computer and use it in GitHub Desktop.
/* where foo and bar are passed through structured-clone */
/* begin null_environment + spawn */
function example(const foo, const bar) {
const baz = foo + bar;
spawn(function () { return baz + 1 });
}
/* end null_environment + spawn */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment