본문 바로가기

벌꿀오소리가 되고싶은

검색하기
벌꿀오소리가 되고싶은
프로필사진 허니배져

  • 분류 전체보기 (40)
    • 개발 (1)
      • 용어정리 (9)
      • Spring (5)
      • 리액트 (0)
      • UML (1)
      • 명령어 정리 (2)
      • 개발 이모저모 (7)
      • Java (0)
      • 실무 관련 (3)
      • 엘라스틱서치 (4)
      • AWS (6)
      • CKA (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Tags
  • kotlin
  • async
  • Coroutine
  • MySQL
  • online ddl
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록Coroutine (1)

벌꿀오소리가 되고싶은

CoroutineScope 부모 코루틴과 독립적으로 동작하기

suspend fun exampleFunction() { coroutineScope { launch(Dispatchers.IO) { // This block will run asynchronously println("Coroutine started") delay(1000) // Simulate some long-running task println("Coroutine finished") } // This block will wait until the above launch completes } println("coroutineScope block completed")}작동 ..

개발 2024. 6. 3. 22:11
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바