Kotlin Coroutine Confidence (Pragmatic Bookshelf)
Hot This:
Latest Threads About This Book

When I run pets/v23 from page 225, I get a quick flash of the “control panel” window, and then the program exits. There is no output in t...
New

For pets/v2/src/main/kotlin/com/example/pets/Helpers.kt (and in subsequent versions), I think it might be helpful to change the block par...
New

On page 180 it says:
If you’re a fan of fluffy felines, you’ll be starting here.
pets/v1/src/main/kotlin/com/example/pets/PetService.k...
New

As a minor suggestion, in timers/v19/src/main/kotlin/com/example/timers/TimerApplication.kt, you might want to consider adding // @format...
New

On page 133 in the callout text box, it says:
Did your IDE warn you about this misplaced Thread.sleep()? …
And on page 141 it says:
...
New

When I ran the parallel/v8 example on page 125, I did not get the results described of not seeing the timer’s output until the program al...
New

For coffee/v3/src/main/kotlin/com/example/coffee/CoffeeApplication.kt, on pg 80, it states that the output will be:
Done launching two c...
New

The last sentence of the second paragraph in the “What is Structured Concurrency?” text box on page 78 is confusing (highlighting added):...
New

I suspect this is something that will be caught in editing, but just in case not… The text box at the bottom of page 78 extends on to the...
New

In “gallery/v14/src/main/kotlin/com/example/gallery/GetImageFromFile.kt”
won’t the .use always call channel.close() on exit? if so, why...
New
Most Active This Week

I suspect this is something that will be caught in editing, but just in case not… The text box at the bottom of page 78 extends on to the...
New

As a minor suggestion, in timers/v19/src/main/kotlin/com/example/timers/TimerApplication.kt, you might want to consider adding // @format...
New

For pets/v2/src/main/kotlin/com/example/pets/Helpers.kt (and in subsequent versions), I think it might be helpful to change the block par...
New

For coffee/v3/src/main/kotlin/com/example/coffee/CoffeeApplication.kt, on pg 80, it states that the output will be:
Done launching two c...
New

When I ran the parallel/v8 example on page 125, I did not get the results described of not seeing the timer’s output until the program al...
New

The last sentence of the second paragraph in the “What is Structured Concurrency?” text box on page 78 is confusing (highlighting added):...
New

On page 180 it says:
If you’re a fan of fluffy felines, you’ll be starting here.
pets/v1/src/main/kotlin/com/example/pets/PetService.k...
New

On page 133 in the callout text box, it says:
Did your IDE warn you about this misplaced Thread.sleep()? …
And on page 141 it says:
...
New

When I run pets/v23 from page 225, I get a quick flash of the “control panel” window, and then the program exits. There is no output in t...
New
Most Active This Month

Escape callback hell and ship fast, clean code that reads as smoothly as it runs. Squash bugs and stamp out memory leaks with an intuitiv...
New

The text "“ What we do have is that suspension-point icon next to awaitResponse,”
presumes we didn’t have those icons in the execute ver...
New

In the example “timers/v7/src/main/kotlin/com/example/timers/TimerApplication.kt”
Why doesn’t the program just exit after queuing the ti...
New

Possibly too pedantic, but I’d be tempted to remind the reader that they can certainly put the try/catch inside the launch and it will wo...
New

Pg 41 states “Run the code, and you’ll see the placeholder message in a small window, just like last time.” for the code astronomy/v4/src...
New

To reinforce kotlin patterns, instead of
val astronomyService = Retrofit.Builder()
.client(createHttpClient().build())
...
New

In “gallery/v14/src/main/kotlin/com/example/gallery/GetImageFromFile.kt”
won’t the .use always call channel.close() on exit? if so, why...
New

For the example astronomy/v3/src/main/kotlin/com/example/astronomy/AstronomyApplication.kt, despite the statement “That try–catch block i...
New
Most Active This Year
Most Active Last Three Years
Most Active Over Three Years
Book Info
Publisher:
Pragmatic Bookshelf
Get money off!

The Pragmatic Bookshelf
35% off any eBook
Simply use coupon code "devtalk.com" at checkout. See full details here.