Interface Schedule<F extends Kind<F,?>,A,B>
- All Superinterfaces:
Kind<Schedule<F,,A, ?>, B> ScheduleOf<F,A, B>
- All Known Implementing Classes:
ScheduleImpl
public sealed interface Schedule<F extends Kind<F,?>,A,B>
extends ScheduleOf<F,A,B>
permits ScheduleImpl<F,S,A,B>
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interfaceSchedule.Of<F extends Kind<F,?>> static interface -
Method Summary
Modifier and TypeMethodDescriptionandThenEither(Schedule<F, A, C> next) as(C value) exponential(Duration delay, double factor, F... reified) exponential(Duration delay, F... reified) forever(F... reified) identity(F... reified) never(F... reified) static <F extends Kind<F,?>>
Schedule.Of<F> of(MonadDefer<F> monad) static <F extends Kind<F,?>>
Schedule.Of<F> of(F... reified) static <F extends Kind<F,?>>
Schedule.Of<F> once(F... reified) recurs(int times, F... reified) recursSpaced(Duration delay, int times, F... reified) succeed(B value, F... reified) unit()untilInput(Matcher1<A> condition) untilOutput(Matcher1<B> condition) whileInput(Matcher1<A> condition) whileOutput(Matcher1<B> condition)
-
Method Details
-
of
-
of
-
of
-
monadDefer
MonadDefer<F> monadDefer() -
map
-
contramap
-
dimap
-
as
-
unit
-
andThen
-
andThenEither
-
zip
-
zipLeft
-
zipRight
-
compose
-
collectAll
-
fold
-
foldM
-
addDelay
-
addDelayM
-
whileInput
-
whileInputM
-
whileOutput
-
whileOutputM
-
untilInput
-
untilInputM
-
untilOutput
-
untilOutputM
-
check
-
once
-
recurs
-
spaced
@SafeVarargs static <F extends Kind<F,?>, Schedule<F,A> A, spacedInteger> (Duration delay, F... reified) -
linear
@SafeVarargs static <F extends Kind<F,?>, Schedule<F,A> A, linearDuration> (Duration delay, F... reified) -
exponential
@SafeVarargs static <F extends Kind<F,?>, Schedule<F,A> A, exponentialDuration> (Duration delay, F... reified) -
exponential
@SafeVarargs static <F extends Kind<F,?>, Schedule<F,A> A, exponentialDuration> (Duration delay, double factor, F... reified) -
delayed
-
recursSpaced
-
never
-
forever
-
succeed
-
identity
-
doWhile
@SafeVarargs static <F extends Kind<F,?>, Schedule<F,A> A, doWhileA> (Matcher1<A> condition, F... reified) -
doWhileM
-
doUntil
@SafeVarargs static <F extends Kind<F,?>, Schedule<F,A> A, doUntilA> (Matcher1<A> condition, F... reified) -
doUntilM
-
unfold
@SafeVarargs static <F extends Kind<F,?>, Schedule<F,A, B> A, unfoldB> (B initial, Operator1<B> next, F... reified) -
unfoldM
-