Skip to content

Instantly share code, notes, and snippets.

⚔️
ui ninja

HeyAlex

⚔️
ui ninja
Block or report user

Report or block HeyAlex

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View CoroutineExecutor.kt
class CoroutineExecutor @JvmOverloads constructor(
private val coroutineScope: CoroutineScope,
private val dispatcher: CoroutineDispatcher,
override val capacity: Int = DEFAULT_CAPACITY
) : Executor {
override val isMainThreadSupported = true
override fun execute(isConcurrent: Boolean, executable: () -> Unit) {
coroutineScope.launch {
You can’t perform that action at this time.