Files
x-stake/app/javascript/channels/consumer.js
João Geonizeli d9f90c8172 initial commit
2021-08-03 13:35:16 -03:00

7 lines
270 B
JavaScript

// Action Cable provides the framework to deal with WebSockets in Rails.
// You can generate new channels where WebSocket features live using the `bin/rails generate channel` command.
import { createConsumer } from "@rails/actioncable"
export default createConsumer()