Skip to content

Instantly share code, notes, and snippets.

@adamw
Created June 7, 2019 11:05
Show Gist options
  • Save adamw/26dc03da6d7b51fc0039e2d960077577 to your computer and use it in GitHub Desktop.
Save adamw/26dc03da6d7b51fc0039e2d960077577 to your computer and use it in GitHub Desktop.
run("Eval on and back") {
printThread *> printThread.on(ec1) *> printThread
}
/*
Outputs:
-- Eval on and back --
main
ec1-1-716083600
zio-default-async-3-1702146597
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment