Annotation Type GraphQLSubscription
@Retention(RUNTIME) @Target({METHOD,FIELD}) @Documented public @interface GraphQLSubscription
Mark a field or method in a class as being a GraphQL subscription. Such a
field or method must return a
Publisher
from org.org.reactivestreams
.
This annotation can only be used in root classes added via
GraphQLBinder.withRoot(Object)
.