//arrow-fx-coroutines/arrow.fx.coroutines/Schedule/Decision
common
data class Decision<out A, out B>(val cont: Boolean, val delayInNanos: Double, val state: A, val finish:
A single decision. Contains the decision to continue, the delay, the new state and the (lazy) result of a Schedule.
Decision | common fun <out A, out B> Decision(cont: Boolean, delayInNanos: Double, state: A, finish: |
Name | Summary |
---|---|
Companion | common object Companion |
Name | Summary |
---|---|
bimap | common fun <C, D> bimap(f: (A) -> C, g: (B) -> D): Schedule.Decision<C, D> |
combine | common @ExperimentalTime fun <C, D, E> combine(other: Schedule.Decision<C, D>, f: (Boolean, Boolean) -> Boolean, g: (Duration, Duration) -> Duration, zip: (B, D) -> E): Schedule.Decision<Pair<A, C>, E> |
combineNanos | common fun <C, D, E> combineNanos(other: Schedule.Decision<C, D>, f: (Boolean, Boolean) -> Boolean, g: (Double, Double) -> Double, zip: (B, D) -> E): Schedule.Decision<Pair<A, C>, E> |
equals | common open operator override fun equals(other: Any?): Boolean |
map | common fun <D> map(g: (B) -> D): Schedule.Decision<A, D> |
mapLeft | common fun <C> mapLeft(f: (A) -> C): Schedule.Decision<C, B> |
not | common operator fun not(): Schedule.Decision<A, B> |
Name | Summary |
---|---|
cont | common val cont: Boolean |
delayInNanos | common val delayInNanos: Double |
duration | common @ExperimentalTime val duration: Duration |
finish | common val finish: |
state | common val state: A |
Do you like Arrow?
✖