
me.aartikov.sesame.loop.ActionSource.kt Maven / Gradle / Ivy
package me.aartikov.sesame.loop
/**
* External action source.
*/
interface ActionSource {
/**
* Run action source. Implementation can call [actionConsumer] to emit an action.
*/
suspend fun start(actionConsumer: (ActionT) -> Unit)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy