about summary refs log blame commit diff
path: root/app/javascript/channels/consumer.js
blob: 0eceb59b18af9bd7365a05078b4d3c977ff56705 (plain) (tree)
1
2
3
4
5
6





                                                                                                          
// Action Cable provides the framework to deal with WebSockets in Rails.
// You can generate new channels where WebSocket features live using the `rails generate channel` command.

import { createConsumer } from "@rails/actioncable"

export default createConsumer()