Hosted by Dailymotion. For legal issues report at the Copyright Center, report us on DMC, or use the Instant Removal tool.
Multipart Kotlin Coroutines Course - E02 - Pre - Medium 1/2
J
JESPROTECH
4 Views • Feb 12, 2025
Description
This is the second video that covers coroutines. It is meant for people that are still struggling a bit with coroutines, but already understand something about how they work and at least understand the clear distinction between threads, light-weight primitives and light-weight threads. In this video I cover many aspects of coroutines, namely what does it mean to suspend a function and then I talk a bit about coroutine contexts. Coroutine contexts are fairly broad and that will be the discussion in the follow-up video. In this video you'll see me playing the guitar, go through examples and go through the drawing board to exemplify and visualize how it all works running in a single thread so that it becomes easier to mentally map when more than one threads are available. Stay tech, keep programming, be kind and have a good one!
---
Chapters:
00:00:00 Guitar Intro
00:00:16 Intro
00:05:09 Part I - Suspend Functions
00:20:01 Suspend Functions in the drawing board without yield
00:24:20 Suspend Functions in the drawing board with yield
00:29:20 suspendCoroutine
00:47:55 suspendCoroutine in the drawing board
00:56:00 Part II - withContext and contexts
00:59:10 Dispatchers.Default Example
01:10:35 Dispatchers.IO Example
01:15:32 Conclusion
01:21:43 See you in the next video!
01:22:48 Ending credits playing the guitar
01:23:25 Disclaimer
---
Related videos:
- https://youtu.be/DYTbVcGZbH8
- https://youtu.be/LyAOF37cJ-c
- https://youtu.be/SNocP3qWOHs
- https://youtu.be/7UB7zE3E-f0
- https://youtu.be/UMo64YpvlRk
- https://youtu.be/oPGWHVsf-j0
- https://youtu.be/w4kkcz1gJkQ
- https://youtu.be/ZTuXgNE61Xg
---
As a short disclaimer, I'd like to mention that I'm not associated or affiliated with any of the brands eventually shown, displayed, or mentioned in this video.
---
All my work and personal interests are also discoverable on other different sites:
- My Website - https://joaofilipesabinoesperancinha.nl/
- Reddit - https://www.reddit.com/user/jesperancinha
- Credly - https://www.credly.com/users/joao-esperancinha/badges
- Pinterest - https://nl.pinterest.com/jesperancinha/
- Facebook - https://www.facebook.com/joaofisaes/
- Spotify - https://open.spotify.com/user/jlnozkcomrxgsaip7yvffpqqm
- Daily Motion - https://www.dailymotion.com/jofisaes
---
If you have any questions about this video please put a comment in the comment section below and I will be more than happy to help you or discuss any related topic you'd like to discuss.
If you want to discover more about my open-source work please visit me on GitHub at:
- GitHub - https://github.com/jesperancinha
---
Chapters:
00:00:00 Guitar Intro
00:00:16 Intro
00:05:09 Part I - Suspend Functions
00:20:01 Suspend Functions in the drawing board without yield
00:24:20 Suspend Functions in the drawing board with yield
00:29:20 suspendCoroutine
00:47:55 suspendCoroutine in the drawing board
00:56:00 Part II - withContext and contexts
00:59:10 Dispatchers.Default Example
01:10:35 Dispatchers.IO Example
01:15:32 Conclusion
01:21:43 See you in the next video!
01:22:48 Ending credits playing the guitar
01:23:25 Disclaimer
---
Related videos:
- https://youtu.be/DYTbVcGZbH8
- https://youtu.be/LyAOF37cJ-c
- https://youtu.be/SNocP3qWOHs
- https://youtu.be/7UB7zE3E-f0
- https://youtu.be/UMo64YpvlRk
- https://youtu.be/oPGWHVsf-j0
- https://youtu.be/w4kkcz1gJkQ
- https://youtu.be/ZTuXgNE61Xg
---
As a short disclaimer, I'd like to mention that I'm not associated or affiliated with any of the brands eventually shown, displayed, or mentioned in this video.
---
All my work and personal interests are also discoverable on other different sites:
- My Website - https://joaofilipesabinoesperancinha.nl/
- Reddit - https://www.reddit.com/user/jesperancinha
- Credly - https://www.credly.com/users/joao-esperancinha/badges
- Pinterest - https://nl.pinterest.com/jesperancinha/
- Facebook - https://www.facebook.com/joaofisaes/
- Spotify - https://open.spotify.com/user/jlnozkcomrxgsaip7yvffpqqm
- Daily Motion - https://www.dailymotion.com/jofisaes
---
If you have any questions about this video please put a comment in the comment section below and I will be more than happy to help you or discuss any related topic you'd like to discuss.
If you want to discover more about my open-source work please visit me on GitHub at:
- GitHub - https://github.com/jesperancinha
Keywords & Tags
More from User
51:03
Boosting performance and functional style with Project Arrow from a practical perspective… 2/2
JESPROTECH
51:01
Boosting performance and functional style with Project Arrow from a practical perspective… 1/2
JESPROTECH
34:54
Kotlin Mysteries - Live at JetBrains 24th of April 2024
JESPROTECH
22:27
Limit the amount of requests to your API Gateway. Do it advanced!
JESPROTECH
28:16
Kong AI Semantic Cache plugin makes wonders! ... if you configure the vector database correctly
JESPROTECH
30:38
Use these Linux commands to master your DevOps experience! Steps to get closer to becoming a GURU!
JESPROTECH
Related Videos
42:01
Multipart Kotlin Coroutines Course - E02 - Pre - Medium 2/2
JESPROTECH
38:15
Multipart Kotlin Coroutines Course - E03 - Medium - async - launch - contexts - 2/2
JESPROTECH
10:02
Multipart Kotlin Coroutines Course - E05 - Advance - The Android Kotlin Coroutine Scopes 2/2
JESPROTECH
38:14
Multipart Kotlin Coroutines Course - E03 - Medium - async - launch - contexts 1/2
JESPROTECH
01:14:26
Could Virtual Threads cast away the usage of Kotlin Coroutines? ... and my XP at the LJC in London 2/2
JESPROTECH
27:07
Multipart Kotlin Coroutines Course - E04 - Medium - Scopes in Server Side and Android 2/2
JESPROTECH