GraphQLSubscriptionFieldResolver<Value> typedef
GraphQLSubscriptionFieldResolver<Value> =
FutureOr<Stream<Value?> > Function(Object? parent, Ctx ctx)
Typedef for a function that resolves the Stream of Value
s
of a GraphQLObjectField, whether asynchronously or not.
Implementation
typedef GraphQLSubscriptionFieldResolver<Value> = FutureOr<Stream<Value?>>
Function(Object? parent, Ctx ctx);