Package graphql.execution.incremental
Class StreamedCall
- java.lang.Object
-
- graphql.execution.incremental.StreamedCall
-
- All Implemented Interfaces:
IncrementalCall<StreamPayload>
public class StreamedCall extends java.lang.Object implements IncrementalCall<StreamPayload>
Represents a call that fetches data that was streamed, via the @stream directive.This is a placeholder class, created to showcase the proposed structure that accommodates both @defer and @stream execution.
-
-
Constructor Summary
Constructors Constructor Description StreamedCall()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<StreamPayload>
invoke()
-
-
-
Method Detail
-
invoke
public java.util.concurrent.CompletableFuture<StreamPayload> invoke()
- Specified by:
invoke
in interfaceIncrementalCall<StreamPayload>
-
-