Method: GraphQL::Query#subscription_topic

Defined in:
lib/graphql/query.rb

#subscription_topicString? (readonly)

Returns the triggered event, if this query is a subscription update.

Returns:

  • (String, nil)

    the triggered event, if this query is a subscription update



67
68
69
# File 'lib/graphql/query.rb', line 67

def subscription_topic
  @subscription_topic
end