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.

Object Safety§

This trait is not object safe.

Implementors§