2020-10-17 12:16:28 +02:00
|
|
|
// Action Cable provides the framework to deal with WebSockets in Rails.
|
2021-02-07 16:46:01 +01:00
|
|
|
// You can generate new channels where WebSocket features live using the `bin/rails generate channel` command.
|
2020-10-17 12:16:28 +02:00
|
|
|
|
|
|
|
import { createConsumer } from "@rails/actioncable"
|
|
|
|
|
|
|
|
export default createConsumer()
|