Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions _posts/2020-10-30-concurrency-in-ce3.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,11 +194,11 @@ object ExampleOne extends IOApp.Simple {
for {
fa <- (repeat("A") *> repeat("B")).as("foo!").start
fb <- (repeat("C") *> repeat("D")).as("bar!").start
// joinAndEmbedNever is a variant of join that asserts
// joinWithNever is a variant of join that asserts
// the fiber has an outcome of Succeeded and returns the
// associated value.
ra <- fa.joinAndEmbedNever
rb <- fb.joinAndEmbedNever
ra <- fa.joinWithNever
rb <- fb.joinWithNever
_ <- IO.println(s"\ndone: a says: $ra, b says: $rb")
} yield ()
}
Expand Down