public class SyncToAsyncAggregateEventsAdapter extends Object implements AggregateEvents
| Constructor and Description |
|---|
SyncToAsyncAggregateEventsAdapter(AggregateEvents target) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<?> |
subscribe(String subscriberId,
Map<String,Set<String>> aggregatesAndEvents,
SubscriberOptions subscriberOptions,
Function<SerializedEvent,CompletableFuture<?>> handler) |
public SyncToAsyncAggregateEventsAdapter(AggregateEvents target)
public CompletableFuture<?> subscribe(String subscriberId, Map<String,Set<String>> aggregatesAndEvents, SubscriberOptions subscriberOptions, Function<SerializedEvent,CompletableFuture<?>> handler)
subscribe in interface AggregateEventsCopyright © 2021. All rights reserved.