---
title: "Discussion on \"Navigating Kotlin's \"suspend\" and \"runBlocking\": A Cautionary Tale.\" | Hashnode"
description: "Discussion on \"Navigating Kotlin's \"suspend\" and \"runBlocking\": A Cautionary Tale.\". Similar to threads in Java, Kotlin uses coroutines to run the tasks in the background.\nIn Kotlin, you can use coroutines in few predefined methods like :\n\nrunBlocking\n\nlaunch\n\nsuspend\n\ncoroutineScope\n\nasync\n\n\nBased on each keyword the usage and imple..."
url: "https://hashnode.com/posts/navigating-kotlins-suspend-and-runblocking-a-cautionary-tale/65d9eaed9b7bd8e24b2d5a3d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Navigating Kotlin's "suspend" and "runBlocking": A Cautionary Tale.](https://aahlad-kethineedi.hashnode.dev/navigating-kotlins-suspend-and-runblocking-a-cautionary-tale?utm_source=hashnode&utm_medium=feed)

Similar to threads in Java, Kotlin uses coroutines to run the tasks in the background. In Kotlin, you can use coroutines in few predefined methods like : runBlocking launch suspend coroutineScope async Based on each keyword the usage and imple...

Feb 24, 2024 · 2 min read · aahlad-kethineedi.hashnode.dev  
Read the article

-   [#kotlin](https://hashnode.com/tag/kotlin)
-   [#springboot](https://hashnode.com/tag/springboot)
-   [#error-handling](https://hashnode.com/tag/error-handling)
-   [#threads](https://hashnode.com/tag/threads)
-   [#coroutines](https://hashnode.com/tag/coroutines)
-   [#kotlin-beginner](https://hashnode.com/tag/kotlin-beginner)
-   [#kotlin-multiplatform](https://hashnode.com/tag/kotlin-multiplatform)

## Written by

[Aahlad Kethineedi](https://hashnode.com/@Aahlad2000)

@Aahlad2000 · Hyderabad, Telangana

  
[View profile](https://hashnode.com/@Aahlad2000)

Action builds momentum.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
