All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.zegreatrob.testmints.action.async.SimpleSuspendAction.kt Maven / Gradle / Ivy

There is a newer version: 12.1.17
Show newest version
package com.zegreatrob.testmints.action.async

interface SimpleSuspendAction : SuspendAction {
    override suspend fun execute(dispatcher: T) = performFunc(dispatcher)
    val performFunc: suspend (T) -> R
    fun  A.link(performFunc: suspend (T, A) -> R): suspend (T) -> R = { performFunc(it, this) }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy