DeleteActivityHandler Interface
public interface DeleteActivityHandler
A method that can participate in delete activity events for the current turn.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract java.util.concurrent.CompletableFuture<java.lang.Void> |
invoke(TurnContext context, ConversationReference reference, Supplier<CompletableFuture<Void>> next)
A method that can participate in delete activity events for the current turn. |
Method Details
invoke
public abstract CompletableFuture
A method that can participate in delete activity events for the current turn.
Parameters:
Returns:
next delegate to pass control to the next registered
handler. If a handler doesn\u2019t call the next delegate, the adapter
does not call any of the subsequent handlers and does not delete the
activity.
The conversation reference's ConversationReference#getActivityId indicates the activity in the conversation to replace.