AMIT SHEKHAR’s Post

View profile for AMIT SHEKHAR

Founder @ Outcome School | Coder | Teacher | Mentor | Open Source | IIT 2010-14 | Android | Machine Learning | Backend

Kotlin code snippet demonstrating how to run two coroutines in series and parallel Follow Outcome School for knowledge-packed content. Keep Learning, Keep Sharing, and Keep Growing. Software engineers like you join Outcome School to achieve the outcome that is a high-paying tech job. Join Outcome School: https://outcomeschool.com #OutcomeSchool #SoftwareEngineer #Tech #AndroidDev #Android #kotlin

  • text
Yogesh Gupta

Android & TV @JioHotstar | Ex-Paytm | Network Optimization & Security Specialist | Kotlin & Java Expert | MVVM | Jetpack | Compose | Unit Test

8mo

Interviewers mostly ask, "If two functions are running in parallel and if any method get some exception or any function generate negative output, then it should stop the other method without waiting for result. How can we achieve this behaviour?"

Pallavi .

Software Engineer @ Outcome School

8mo

👍

Like
Reply

Follow Outcome School for knowledge-packed content.

Like
Reply
Muhammad Ahsan Akram

Junior Android Developer at Translation Empire PK

8mo

Coroutines are awesome. I used this approach for a scenario where i need to launch multiple network requests in parallel and also receive the result in same order.

Like
Reply
See more comments

To view or add a comment, sign in

Explore content categories