Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
val fut = Future { println("hey fut!") }
val ioa = IO.fromFuture(IO {
fut
})
val program =
for {
_ <- ioa
_ <- ioa
} yield ()
program.unsafeRunSync()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.