NextDelegate Interface
public interface NextDelegate
Functional interface for the Middleware pipeline.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract java.util.concurrent.CompletableFuture<java.lang.Void> |
next()
The delegate to call to continue the bot middleware pipeline. |
Method Details
next
public abstract CompletableFuture
The delegate to call to continue the bot middleware pipeline.
Returns:
Future task.