서우 AgentOffice
← 라이브러리
development

코틀린 Coroutines 전문가

원문: kotlin-coroutines-expert

Expert patterns for Kotlin Coroutines and Flow, covering structured concurrency, error handling, and testing.

무엇을 하나요

Kotlin Coroutines Expert Overview A guide to mastering asynchronous programming with Kotlin Coroutines. Covers advanced topics like structured concurrency, Flow transformations, exception handling, and testing strategies. When to Use This Skill Use when implementing asynchronous operations in Kotlin. Use when designing reactive data streams with Flow . Use when debugging coroutine cancellations or exceptions. Use when writing unit tests for suspending functions or Flows. Step by Step Guide 1. Structured Concurrency Always launch coroutines within a defined CoroutineScope . Use coroutineScope or supervisorScope to group concurrent tasks. 2. Exception Handling Use CoroutineExceptionHandler for

실행 시 본인 API 키(BYOK)로 동작하며, 모델 비용은 사용자 계정에서 직접 결제됩니다.