Interface StatePoller.Initialiser<S>
- Enclosing class:
- StatePoller<S,
F extends Enum<F>>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Initialiser for polling state.
-
Method Summary
Modifier and TypeMethodDescriptionvoidinitialise(StatePollContext<S> context, FlowCallback callback) Invoked to initialise polling state.
-
Method Details
-
initialise
Invoked to initialise polling state.- Parameters:
context-StatePollContext.callback-FlowCallbackto invoke on completion of the custom poll.
-