SendActivitiesHandler Interface

public interface SendActivitiesHandler

A method that can participate in send activity events for the current turn.

Method Summary

Modifier and Type Method and Description
abstract java.util.concurrent.CompletableFuture<ResourceResponse[]> invoke(TurnContext context, List<Activity> activities, Supplier<CompletableFuture<ResourceResponse[]>> next)

A method that can participate in send activity events for the current turn.

Method Details

invoke

public abstract CompletableFuture invoke(TurnContext context, List activities, Supplier> next)

A method that can participate in send activity events for the current turn.

Parameters:

context - The context object for the turn.
activities - The activities to send.
next - The delegate to call to continue event processing.

Returns:

A task that represents the work queued to execute.

Applies to