dhmitchell

dhmitchell

Kotlin Coroutine Confidence: misleading image or text (p 20ish)

The text "“ What we do have is that suspension-point icon next to awaitResponse,”
presumes we didn’t have those icons in the execute version “astronomy/v1/src/main/kotlin/com/example/astronomy/AstronomyApplication.kt”
but they appear in the same places in that example (which actually confused me but I assumed execute was a suspend method).

(I hopy you don’t mind these nitpicks. I figure bc it’s early beta, you want these.)

Marked As Solved

sam-cooper

sam-cooper

Author of Kotlin Coroutine Confidence

In Beta 3.0 I’m updating the text in this part of the chapter to make it much clearer that the icons I’m talking about are in the IDE, not in the book itself.

I might also add a note to explain how the highlight icons in the book (➤) are used—still thinking about that one.

Thanks for raising the issue!

Also Liked

dhmitchell

dhmitchell

Perhaps just a few words: such as “In the below example, the >> point out the important/changed lines.” “If you load the above code into IntelliJ, you’ll see that there are now suspend points (~>) where there weren’t in the prior iteration.”

Where Next?

Popular Pragmatic Bookshelf topics Top

simonpeter
When I try the command to create a pair of migration files I get an error. user=> (create-migration "guestbook") Execution error (Ill...
New
mikecargal
Title: Hands-On Rust (Chap 8 (Adding a Heads Up Display) It looks like ​.with_simple_console_no_bg​(SCREEN_WIDTH*2, SCREEN_HEIGHT*2...
New
Mmm
Hi, build fails on: bracket-lib = “~0.8.1” when running on Mac Mini M1 Rust version 1.5.0: Compiling winit v0.22.2 error[E0308]: mi...
New
jeremyhuiskamp
Title: Web Development with Clojure, Third Edition, vB17.0 (p9) The create table guestbook syntax suggested doesn’t seem to be accepted ...
New
gilesdotcodes
In case this helps anyone, I’ve had issues setting up the rails source code. Here were the solutions: In Gemfile, change gem 'rails' t...
New
Chrichton
Dear Sophie. I tried to do the “Authorization” exercise and have two questions: When trying to plug in an email-service, I found the ...
New
adamwoolhether
I’m not quite sure what’s going on here, but I’m unable to have to containers successfully complete the Readiness/Liveness checks. I’m im...
New
brunogirin
When trying to run tox in parallel as explained on page 151, I got the following error: tox: error: argument -p/–parallel: expected one...
New
akraut
The markup used to display the uploaded image results in a Phoenix.LiveView.HTMLTokenizer.ParseError error. lib/pento_web/live/product_l...
New
New

Other popular topics Top

AstonJ
If it’s a mechanical keyboard, which switches do you have? Would you recommend it? Why? What will your next keyboard be? Pics always w...
New
AstonJ
What chair do you have while working… and why? Is there a ‘best’ type of chair or working position for developers?
New
New
AstonJ
We have a thread about the keyboards we have, but what about nice keyboards we come across that we want? If you have seen any that look n...
New
New
AstonJ
Do the test and post your score :nerd_face: :keyboard: If possible, please add info such as the keyboard you’re using, the layout (Qw...
New
mafinar
Crystal recently reached version 1. I had been following it for awhile but never got to really learn it. Most languages I picked up out o...
New
AstonJ
Biggest jackpot ever apparently! :upside_down_face: I don’t (usually) gamble/play the lottery, but working on a program to predict the...
New
foxtrottwist
A few weeks ago I started using Warp a terminal written in rust. Though in it’s current state of development there are a few caveats (tab...
New
New

Sub Categories: