Kotlin: Using Coroutines

by Kevin Jones

More and more languages are providing support for asynchronous programming. This course will show you how to use the asynchronous programming features of Kotlin allowing you to create applications that are more responsive.

What you'll learn

As a developer, you want to build fast-running applications without the overhead that threads can cause. In this course, Kotlin: Using Coroutines, you'll learn how coroutines provide a way to use ‘lightweight’ threads within a process that let us take advantage of multi-core processors without much of the overhead. First, you'll learn how to create coroutines. Next, you'll explore how to use them to return data. Finally, you'll discover how to use coroutines in environments such as JavaFX and Android, where thread affinity is really an issue. By the end of this course, you'll have a thorough knowledge of how to use coroutines in Kotlin to create fast and efficient applications.

Table of contents

Course Overview

About the author

A long time ago in a university far, far away Kevin fell in love with programming. Initially on the university's DEC20 computer doing BASIC and Pascal and a little bit of Fortran. His first job had him writing batch PL/1 on an IBM mainframe where he also discovered the arcane delights of JCL. He soon realized the multiuser systems were not for him after discovering the delights of dBase IV on IBM PCs. From here it was all downhill as he became addicted to C and the Windows API. Just missing out ... more

Ready to upskill? Get started