Interface GraphQLStream.Emitter
- Enclosing interface:
GraphQLStream
public static interface GraphQLStream.Emitter
Where a stream sends what it produces.
-
Method Summary
-
Method Details
-
next
Sends one event. -
error
Ends the stream with an error, reported to the client. -
complete
void complete()Ends the stream.
-