Skip to content

Instantly share code, notes, and snippets.

@adamw
Created June 7, 2019 20:04
Show Gist options
  • Save adamw/6fb5c45d938e8cdb70da5317012ddffc to your computer and use it in GitHub Desktop.
Save adamw/6fb5c45d938e8cdb70da5317012ddffc to your computer and use it in GitHub Desktop.
run("async shift") {
a *> IO.shift(ec1) *> printThread
}
/*
Outputs:
-- async shift --
ec3-1-785992331 (async)
ec1-2-274064559
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment