From b9b5661f3e503cc2a5af8879d2f10f9b9b90fe61 Mon Sep 17 00:00:00 2001 From: josephhajduk Date: Thu, 11 Nov 2021 17:55:10 -0600 Subject: [PATCH] renamed joinAndEmbedNever to joinWithNever as per https://github.com/typelevel/cats-effect/issues/1500 did not check the correctness of any other examples --- _posts/2020-10-30-concurrency-in-ce3.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_posts/2020-10-30-concurrency-in-ce3.md b/_posts/2020-10-30-concurrency-in-ce3.md index e14642a0..a3debf4b 100644 --- a/_posts/2020-10-30-concurrency-in-ce3.md +++ b/_posts/2020-10-30-concurrency-in-ce3.md @@ -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 () }