Package io.dialob.session.engine
Interface DialobSessionUpdateHook
public interface DialobSessionUpdateHook
-
Method Summary
Modifier and TypeMethodDescriptionvoidhookAction(DialobSession dialobSession, Command<?> update, Consumer<Command<?>> delegate) All actions to session are passed through this hook.
-
Method Details
-
hookAction
void hookAction(@NonNull DialobSession dialobSession, @NonNull Command<?> update, Consumer<Command<?>> delegate) All actions to session are passed through this hook. Implementation can filter, replace or add updates to be processed.- Parameters:
dialobSession- current DialobSessionupdate- update to checkdelegate- delegates update for actual evaluation
-