Package io.micronaut.chatbots.core
Interface Dispatcher<B extends BotConfiguration,I,O>
-
- Type Parameters:
B
- The Bot configurationI
- input type.O
- output type.
- All Known Implementing Classes:
DefaultDispatcher
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@DefaultImplementation(DefaultDispatcher.class) @FunctionalInterface public interface Dispatcher<B extends BotConfiguration,I,O>
- Since:
- 1.0.0
- Author:
- Sergio del Amo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<O>
dispatch(B bot, I input)
-