Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Fresh Async With Kotlin

GOTO Conferences via YouTube

Overview

Explore asynchronous programming approaches and their evolution in this conference talk from GOTO Copenhagen 2018. Delve into Kotlin Coroutines, a fresh approach to async programming, and compare it with traditional async/await methods based on futures/promises. Learn about suspending functions, dispatchers, and structured concurrency in Kotlin. Discover how to implement asynchronous operations using Retrofit, handle callbacks, and analyze responses. Examine use cases for async functions and understand why Kotlin doesn't have an await keyword. Gain insights into idiomatic Kotlin async programming and see practical examples, including a concurrent Fibonacci sequence implementation.

Syllabus

Intro
History
Callbacks: after
Bonus features
Kotlin suspending functions
Retrofit async
Install callback
Analyze response
Coroutines revisited
Dispatcher
Why no await keyword in Kotlin?
Use-case for async
Kotlin async function
Crash?
Idiomatic: Using async function when needed
Kotlin approach to async
Structured concurrency
Concurrent Fibonacci sequence
Classic async

Taught by

GOTO Conferences

Reviews

Start your review of Fresh Async With Kotlin

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.