commonMain.ru.casperix.signals.concrete.FutureExtension.kt Maven / Gradle / Ivy
package ru.casperix.signals.concrete
import ru.casperix.misc.Either
import ru.casperix.misc.fold
import ru.casperix.signals.api.CustomFuture
/**
* Искомый сигнал срабатывает от любого инициатора
*/
fun CustomFuture<(Input) -> Unit, Slot>.transform(converter: (Input) -> Output): CustomFuture<(Output) -> Unit, Slot> {
val signal = Signal
© 2015 - 2025 Weber Informatics LLC | Privacy Policy