File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/commonMain/kotlin/com.adamratzman.spotify Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ import com.adamratzman.spotify.models.AbstractPagingObject
5
5
import com.adamratzman.spotify.utils.TimeUnit
6
6
import com.adamratzman.spotify.utils.getCurrentTimeMs
7
7
import com.adamratzman.spotify.utils.schedule
8
+ import kotlin.coroutines.resume
9
+ import kotlin.coroutines.resumeWithException
10
+ import kotlin.coroutines.suspendCoroutine
8
11
import kotlinx.coroutines.CoroutineDispatcher
9
12
import kotlinx.coroutines.Dispatchers
10
13
import kotlinx.coroutines.ExperimentalCoroutinesApi
@@ -18,9 +21,6 @@ import kotlinx.coroutines.flow.flow
18
21
import kotlinx.coroutines.flow.flowOn
19
22
import kotlinx.coroutines.launch
20
23
import kotlinx.coroutines.withContext
21
- import kotlin.coroutines.resume
22
- import kotlin.coroutines.resumeWithException
23
- import kotlin.coroutines.suspendCoroutine
24
24
25
25
/* *
26
26
* Provides a uniform interface to retrieve, whether synchronously or asynchronously, [T] from Spotify
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import com.adamratzman.spotify.SpotifyApi
5
5
import com.adamratzman.spotify.http.SpotifyEndpoint
6
6
import com.adamratzman.spotify.models.serialization.toCursorBasedPagingObject
7
7
import com.adamratzman.spotify.models.serialization.toPagingObject
8
+ import kotlin.reflect.KClass
8
9
import kotlinx.coroutines.Dispatchers
9
10
import kotlinx.coroutines.ExperimentalCoroutinesApi
10
11
import kotlinx.coroutines.flow.Flow
@@ -16,7 +17,6 @@ import kotlinx.coroutines.flow.toList
16
17
import kotlinx.serialization.SerialName
17
18
import kotlinx.serialization.Serializable
18
19
import kotlinx.serialization.Transient
19
- import kotlin.reflect.KClass
20
20
21
21
/*
22
22
Types used in PagingObjects and CursorBasedPagingObjects:
You can’t perform that action at this time.
0 commit comments