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

commonMain.it.unibo.tuprolog.solve.channel.impl.OutputChannelFromFunction.kt Maven / Gradle / Ivy

There is a newer version: 1.0.4
Show newest version
package it.unibo.tuprolog.solve.channel.impl

internal class OutputChannelFromFunction(
    private val consumer: (T) -> Unit,
) : AbstractOutputChannel() {
    override fun writeActually(value: T) = consumer(value)

    override fun flushActually() = Unit
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy