master
import CableReady from 'cable_ready' import consumer from './consumer' consumer.subscriptions.create('GeneralChannel', { received (data) { if (data.cableReady) CableReady.perform(data.operations) } })