Skip to content

Commit

Permalink
feat: make SDK's CoroutineScope internal
Browse files Browse the repository at this point in the history
Also, add a name for easier identification while debugging
  • Loading branch information
wzieba committed Nov 7, 2023
1 parent 0487719 commit 1905ffc
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package com.parsely.parselyandroid

import kotlinx.coroutines.CoroutineName
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.SupervisorJob

val sdkScope = CoroutineScope(SupervisorJob() + Dispatchers.IO)
internal val sdkScope =
CoroutineScope(SupervisorJob() + Dispatchers.IO + CoroutineName("Parse.ly SDK Scope"))

0 comments on commit 1905ffc

Please sign in to comment.