Notice
Recent Posts
Recent Comments
Link
250x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- textfield
- Navigation
- 앱
- intent
- livedata
- Flutter
- Compose
- CustomScrollView
- TEST
- Coroutines
- DART
- data
- 안드로이드
- 계측
- Button
- 앱바
- ScrollView
- binding
- tabbar
- android
- Dialog
- activity
- viewmodel
- LifeCycle
- scroll
- 테스트
- textview
- Kotlin
- appbar
- drift
Archives
- Today
- Total
목록비동기 (1)
Study Record
[Dart] 다수의 비동기 요청 병렬로 처리하기
✍ 비동기 작업 비동기로 작업할 때 여러 가지 요청(ex. 서버 request)을 해야할 경우, 한 요청이 끝날 때까지 기다렸다가 끝나면 다른 요청을 시작하는 식으로 순차적으로 진행할 경우 시간이 오래 걸릴 수 있다. 이럴 때, 다수의 요청을 한 번에 시작하고 끝나는 것을 기다린다면 시간을 단축시킬 수 있다. 😶 순차적인 진행일 경우 Future fetchData() async { print("start ${DateTime.now()}"); for(int i=0; i
Dart
2023. 3. 17. 00:15