module Restforce::Concerns::Streaming
def legacy_subscribe(topics, options = {}, &block)
block - A block to run when a new message is received.
topics - The name of the PushTopic channel(s) to subscribe to.
Public: Subscribe to a PushTopic
def legacy_subscribe(topics, options = {}, &block) topics = Array(topics).map { |channel| "/topic/#{channel}" } subscription(topics, options, &block) end