Are the both HTTP call implementation semantically...
# announcements
a
Are the both HTTP call implementation semantically identical, i.e. are both performing an async fetch? https://github.com/JetBrains/kotlinconf-app/blob/master/web/src/main/kotlin/org/jetbrains/kotlinconf/api/ajaxUtil.kt (1) implementation is an async fetch according to Kontlin's semantics? (2) implementation is an async fetch implemented with JavaScript semantics? Is my understanding correct? @orangy
o
Not sure where do you see 2 http implementations? Second is just trivial
async
implementation for JS, there were no #C1CFAFJSK builders at that time.
a
just replace my "http impl" with "http retrieval mechanisms". So both are not doing essentially the same and (2) is the reference/idiomatic way on using async http retrieval with JS Promises?
ah, I see the async is not retrieving anything like the first one