You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: action_cable.rb
    path of file: ./repos/rails-graphql/lib/rails/graphql/subscription/provider
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require 'action_cable'

module Rails
  module GraphQL
    module Subscription
      module Provider
       
    
          def add(*subscriptions)
            with_pubsub do
              subscriptions.each do |item|
                log(:added, item)
                store.add(item)
                stream_from(item)
              end
            end
          end