Package io.dialob.compiler
Interface DialobSessionUpdateHook
-
public interface DialobSessionUpdateHook
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhookAction(DialobSession dialobSession, Command<?> update, Consumer<Command<?>> delegate)All actions to session are passed through this hook.
-
-
-
Method Detail
-
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
-
-