mirror of
https://github.com/manyfold3d/manyfold.git
synced 2026-10-23 04:02:19 -05:00
7 lines
270 B
TypeScript
7 lines
270 B
TypeScript
// 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()
|