public interface SubscriptionQueryResult
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<QueryResponse> |
initialResult()
Returns a CompletableFuture that completes when the initial result of the query is available.
|
ResultStream<QueryUpdate> |
updates()
Returns the stream of updates to the queried projection.
|
CompletableFuture<QueryResponse> initialResult()
Invoking this method will send a request for the initial result, if that hasn't been requested before. Subsequent invocations of this method will return the same CompletableFuture instance.
ResultStream<QueryUpdate> updates()
Multiple invocation of this method will return the same stream instance.
Copyright © 2020–2022 AxonIQ BV. All rights reserved.