Course Number: MBL-232
Duration: 2 days (13 hours)
Format: Live, hands-on

Kotlin Coroutines Training Overview

Coroutines, as implemented in Kotlin, are an elegant way of solving many complex programming problems including asynchronous programming, actors models, lazy evaluated iteration, and more.

In this Kotlin Coroutines training course attendees learn Coroutines fundamentals as well as many of the advanced features, including structured concurrency, cancellation, and more.

Location and Pricing

This course is taught as a private, live online class for teams of 3 or more. All our courses are hands-on, instructor-led, and tailored to fit your group’s goals and needs. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for online corporate training, please contact us.

In addition, some courses are available as live, instructor-led training from one of our partners.

Objectives

  • Understand the purpose and advantages of Coroutines
  • Apply coroutines for asynchronous programming
  • Make use of all aspects of the Coroutines library
  • Explore practical applications of coroutines

Prerequisites

All attendees must be familiar with the fundamentals of programming in Kotlin.

Outline

Expand All | Collapse All

Coroutine Fundamentals
  • What precisely is a Kotlin Coroutine?
  • Comparing Coroutines to Java Threads
  • Comparing Coroutines to the Stream API
  • How does a suspending function work?
  • The responsibilities of the compiler
  • The responsibilities of the library
  • Potential for multiple implementations
  • Choosing and using bridge functions
  • Sequences, channels, and other abstractions
  • Behavior when limits are met
  • Commonly applied asynchronous patterns
Structured Concurrency with Coroutines
  • A tour of the types within the Coroutines API
  • The importance of the CoroutineScope and Context
  • Defining Supervisor Scopes
  • Using the standard dispatchers and creating your own
  • Options (including actors) for sharing mutable state
  • Modeling asynchronous sequences of values as Flows
  • How different operators are implemented within Flows
  • Understanding context and termination within Flows
Coroutine Best Practices
  • Ensuring your Coroutine based design is fault-tolerant
  • Managing exceptions in Coroutine code
  • Avoiding Deadlock with coroutines
  • Testing and validating coroutines
Conclusion

Training Materials

All attendees receive comprehensive courseware.

Course outline and materials are copyrighted and owned by Instil Software.

Software Requirements

  • Windows or Mac minimum 8 GB RAM
  • Android Studio installed
  • Provided lab files from Accelebrate


Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan