Decision

data class Decision<out A, out B>(cont: Boolean, delayInNanos: Double, state: A, finish: <ERROR CLASS><B>)

A single decision. Contains the decision to continue, the delay, the new state and the (lazy) result of a Schedule.

Constructors

Link copied to clipboard
fun <out A, out B> Decision(cont: Boolean, delayInNanos: Double, state: A, finish: <ERROR CLASS><B>)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun <C, D> bimap(f: (A) -> C, g: (B) -> D): Schedule.Decision<C, D>
Link copied to clipboard
fun <C, D, E> combine(other: Schedule.Decision<C, D>, f: (Boolean, Boolean) -> Boolean, g: (<ERROR CLASS>, <ERROR CLASS>) -> <ERROR CLASS>, zip: (B, D) -> E): Schedule.Decision<<ERROR CLASS><A, C>, E>
Link copied to clipboard
fun <C, D, E> combineNanos(other: Schedule.Decision<C, D>, f: (Boolean, Boolean) -> Boolean, g: (Double, Double) -> Double, zip: (B, D) -> E): Schedule.Decision<<ERROR CLASS><A, C>, E>
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
fun <D> map(g: (B) -> D): Schedule.Decision<A, D>
Link copied to clipboard
fun <C> mapLeft(f: (A) -> C): Schedule.Decision<C, B>
Link copied to clipboard
operator fun not(): Schedule.Decision<A, B>

Properties

Link copied to clipboard
val cont: Boolean
Link copied to clipboard
val delayInNanos: Double
Link copied to clipboard
val duration: <ERROR CLASS>
Link copied to clipboard
val finish: <ERROR CLASS><B>
Link copied to clipboard
val state: A