andThen
Runs this
schedule until Done, and then runs other until Done. Wrapping the output of this
in Either.Left, and the output of other in Either.Right.
open fun <A, B> andThen(other: Schedule<Input, A>, ifLeft: suspend (Output) -> B, ifRight: suspend (A) -> B): Schedule<Input, B>
Runs this
schedule, and transforms the output of this schedule using ifLeft, When this
schedule is Done, it runs other schedule, and transforms the output using ifRight.