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


58
59
60
# File 'lib/graphql/query.rb', line 58

def subscription_topic
  @subscription_topic
end