Trait juniper::GraphQLSubscriptionType
source · pub trait GraphQLSubscriptionType<S = DefaultScalarValue>: GraphQLSubscriptionValue<S> + GraphQLType<S>where
Self::Context: Sync,
Self::TypeInfo: Sync,
S: ScalarValue + Send + Sync,{ }
Expand description
Extension of GraphQLType
trait with asynchronous subscription execution logic.
It’s automatically implemented for GraphQLSubscriptionValue
and GraphQLType
implementers, so doesn’t require manual or code-generated implementation.