File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11// Action Cable provides the framework to deal with WebSockets in Rails.
22// You can generate new channels where WebSocket features live using the `bin/rails generate channel` command.
33
4- import { createConsumer } from "@rails/actioncable"
4+ // TODO
5+ // - Configure redis
6+ // import { createConsumer } from "@rails/actioncable"
57
6- export default createConsumer ( )
8+ // export default createConsumer()
Original file line number Diff line number Diff line change 11// Load all the channels within this directory and all subdirectories.
22// Channel files must be named *_channel.js.
33
4- const channels = require . context ( '.' , true , / _ c h a n n e l \. j s $ / )
5- channels . keys ( ) . forEach ( channels )
4+ // TODO
5+ // - Handle requests through subscription
6+ // const channels = require.context('.', true, /_channel\.js$/)
7+ // channels.keys().forEach(channels)
You can’t perform that action at this time.
0 commit comments