Перейти к содержимому

Suspend Functions Internals in KOTLIN: Threads, Callbacks & Continuations

Himanshu Gaur

0:00 / 0:00

Suspend Functions Internals in KOTLIN: Threads, Callbacks & Continuations

1 813 просмотров · 1 год назад
Himanshu Gaur
6,92 тыс. подписчиков
1 813 просмотров · 1 год назад
Coffee Please: https://buymeacoffee.com/himanshugaur Are you curious about how suspend functions work under the hood in KOTLIN? In this video, we’ll dive deep into the internals of suspend functions by breaking them down into simple steps: 00:00 Intro 00:16 Basic Setup 00:53 Thread Example without callback ( Blocking Main Thread ) 02:55 Thread with Callback, handle Exceptions( Solution ) 08:10 Suspend Modifier 09:40 What is Continuation? (Talking about Decompile code) 11:19 Understand Programming Call Stack 12:01 Animation of Programming Call Stack 14:14 Conclusion 15:15 Outro ✅ Using Threads – Understanding how blocking operations work ✅ Callbacks with Threads – Managing asynchronous execution manually ✅ Suspending Functions & Continuations – Connecting everything with structured concurrency By the end of this video, you’ll clearly understand how suspend functions are built, how Kotlin handles asynchronous execution, and why coroutines are so powerful! 🚀 🔔 Don’t forget to like, subscribe, and hit the notification bell for more KOTLIN and Jetpack Compose tutorials! Github: https://github.com/himanshuGaur684/Ko... LinkedIn:   / himanshu-gaur-153a43186   Instagram: /vision_android #kotlin #coroutines #suspendfunctions #kotlincoroutines #androiddevelopment #threads #asyncprogramming #continuation #jetpackcompose #kotlintutorial #mobiledevelopment #asynchronousprogramming #coding